mirror of
https://github.com/casey/just.git
synced 2024-12-02 07:44:01 +03:00
571 B
571 B
just
is a handy way to save and run project-specific commands.
Commands are stored in a file called justfile
or Justfile
with syntax inspired by make
:
build:
cc *.c -o main
# test everything
test-all: build
./test --all
# run a specific test
test TEST: build
./test --test {{TEST}}
just
produces detailed error messages and avoids make
's idiosyncrasies, so debugging a justfile is easier and less surprising than debugging a makefile.
It works on Linux, MacOS, and Windows.
Read more on GitHub.