Add screenshot to readme (#911)

This commit is contained in:
Casey Rodarmor 2021-07-19 18:48:13 -07:00 committed by GitHub
parent c76805ab9e
commit 06d207a1ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 12 deletions

View File

@ -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`: Commands, called recipes, are stored in a file called `justfile` with syntax inspired by `make`:
```make image:screenshot.png[screenshot]
build:
cc *.c -o main
# test everything
test-all: build
./test --all
# run a specific test
test TEST: build
./test --test {{TEST}}
```
You can then run them with `just RECIPE`: You can then run them with `just RECIPE`:

15
examples/screenshot.just Normal file
View File

@ -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}}

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 353 KiB