Skip to content

Commit

Permalink
Add screenshot to readme (#911)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jul 20, 2021
1 parent c76805a commit 06d207a
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
13 changes: 1 addition & 12 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,7 @@ image:https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg[say thanks,link=mai

Commands, called recipes, are stored in a file called `justfile` with syntax inspired by `make`:

```make
build:
cc *.c -o main
# test everything
test-all: build
./test --all
# run a specific test
test TEST: build
./test --test {{TEST}}
```
image:screenshot.png[screenshot]

You can then run them with `just RECIPE`:

Expand Down
15 changes: 15 additions & 0 deletions examples/screenshot.just
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
alias b := build

host := `uname -a`

# build main
build:
cc *.c -o main

# test everything
test-all: build
./test --all

# run a specific test
test TEST: build
./test --test {{TEST}}
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 06d207a

Please sign in to comment.