1
0
mirror of https://github.com/casey/just synced 2024-06-29 06:24:38 +00:00
just/crates-io-readme.md
2017-10-14 23:21:46 -07:00

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.