diff --git a/README.adoc b/README.adoc index f04cc2c1..06c5ee40 100644 --- a/README.adoc +++ b/README.adoc @@ -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`: diff --git a/examples/screenshot.just b/examples/screenshot.just new file mode 100644 index 00000000..b7ac8dc8 --- /dev/null +++ b/examples/screenshot.just @@ -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}} diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 00000000..3023eeb2 Binary files /dev/null and b/screenshot.png differ