Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jcosborn committed Apr 28, 2022
1 parent b4a2589 commit 6a70cf4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ and the nim source (`src`) and tests directories.

You can see a list of matching targets with the `targets` command, e.g.
```
make targets <path>
make targets PATH
```
or
```
nimble targets <path>
nimble targets PATH
```


Expand All @@ -47,7 +47,7 @@ to the `make` command below).
| --- | --- |
| help | Show help message |
| show | Show Nim compile flags |
| targets | Show available build targets. Targets <name> will search for targets matching <name> (can include standard shell wildcards) |
| targets | Show available build targets. Targets NAME will search for targets matching NAME (can include standard shell wildcards) |
| clean | Remove contents of nimcache directory |
| tests | Build tests and create `testscript.sh` test runner |
| make | Search for each [path]... as described below, compile, link, and put executables in `bin` |
Expand All @@ -70,8 +70,8 @@ When using the `make` build method the `make` command is default and can be skip

| Option | Description |
| --- | --- |
| -<option> | Passes `-<option>` to Nim compiler |
| :-<option> | Passes `-<option>` to Nim compiler (avoids issues with make/nimble trying to parse it). |
| -option | Passes `-option` to Nim compiler |
| :-option | Passes `-option` to Nim compiler (avoids issues with make/nimble trying to parse it). |
| :foo | Sets Nim define `foo` (equivalent to `-d:foo`). |
| :foo=bar | Sets Nim define `foo` to value `bar` (equivalent to `-d:foo=bar`). |

Expand Down

0 comments on commit 6a70cf4

Please sign in to comment.