Skip to content

Commit

Permalink
add docker setup to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
marcj committed Nov 2, 2022
1 parent 5e573db commit 5e53d53
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,16 @@ $ git clone [email protected]:marcj/TypeRunner.git
$ cd TypeRunner
```

then make sure cmake and a C++ compiler is installed. We use LLVM toolchain per default. To build the project run the usual cmake command:
To compile using Docker:

```sh
$ docker build -t typerunner -f Dockerfile .
$ docker run typerunner build/bench tests/objectLiterals1.ts
```

To compile natively use make sure cmake and a C++ compiler is installed. We use LLVM toolchain per default. To build the project run the usual cmake command:

```sh
$ git clone https://github.com/marcj/TypeRunner.git
$ cd TypeRunner
$ git submodule update --init --recursive
$ mkdir build
$ cd build
Expand Down

0 comments on commit 5e53d53

Please sign in to comment.