Skip to content

Commit

Permalink
Merge pull request twostraws#3 from daveverwer/master
Browse files Browse the repository at this point in the history
Added simple build and run instructions.
  • Loading branch information
twostraws authored Feb 7, 2020
2 parents 63feca1 + d859a9b commit 0aaccb1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ Sitrep is built using Apple’s [SwiftSyntax](https://github.com/apple/swift-syn

Sitrep is written using Swift 5.1. You can either build and run the executable directly, or integrate the SitrepCore library into your own code.

To build Sitrep, clone this repository and open Terminal in the repository root directory. Then run:

```
swift build
swift run sitrep ~/path/to/your/project/root
```

If you would like to keep a copy of the `sitrep` executable around, find it in the `.debug` directory after running `swift build`.

To run Sitrep from the command line just provide it with the name of a project directory to parse – it will locate all Swift files recursively from there. Alternatively, just using `sitrep` by itself will scan the current directory.


Expand Down

0 comments on commit 0aaccb1

Please sign in to comment.