Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ellie authored Dec 18, 2019
1 parent 3bfe1d0 commit 3832be7
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,23 @@ $ git tag -l
$ git checkout [tag]
```

Run the following to make a release build.
Option 1: Run the following to make a release build.

```
$ swift build -c release
```

This will create a binary called `mockolo` in the `.build/release` directory.

To install, just copy this executable into a directory that is part of your `PATH` environment variable.

Option 2: Run the install-script.sh (-h to see options)

```
$ ./install-script.sh -s [source dir] -t mockolo -d [destination dir] -o [output filename]
```

This will create a tarball for distribution, which contains the mockolo executable along with a necessary SwiftSyntax parser dylib (lib_InternalSwiftSyntaxParser.dylib). This allows running mockolo without depending on where the dylib lives.


To use Xcode, run the following.

Expand Down

0 comments on commit 3832be7

Please sign in to comment.