Add example of running a command to top of readme (#307)
This commit is contained in:
parent
76ac5098e5
commit
ec56336df7
@ -24,6 +24,15 @@ test TEST: build
|
|||||||
./test --test {{TEST}}
|
./test --test {{TEST}}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
You can then run them with `just COMMAND`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ just test
|
||||||
|
cc *.c -o main
|
||||||
|
./test --all
|
||||||
|
Yay, all your tests passed!
|
||||||
|
```
|
||||||
|
|
||||||
`just` produces detailed error messages and avoids `make`’s idiosyncrasies, so debugging a justfile is easier and less surprising than debugging a makefile.
|
`just` produces detailed error messages and avoids `make`’s idiosyncrasies, so debugging a justfile is easier and less surprising than debugging a makefile.
|
||||||
|
|
||||||
If you need help with `just` please feel free to open an issue or let me know on link:https://gitter.im/just-because/Lobby[gitter]. Feature requests and bug reports are always welcome!
|
If you need help with `just` please feel free to open an issue or let me know on link:https://gitter.im/just-because/Lobby[gitter]. Feature requests and bug reports are always welcome!
|
||||||
|
Loading…
Reference in New Issue
Block a user