Show HN: Just, a command runner written in Rust https://ift.tt/3pePR2d
Show HN: Just, a command runner written in Rust Just lets you save and run commands from files with a terse, readable syntax similar to Make: build: cc *.c -o main # test everything test-all: build ./test --all # run a specific test test TEST: build ./test --test It is cross-platform, written in Rust, and actively maintained on GitHub: https://ift.tt/379dcfd Just has a bunch of nice features: - Can be invoked from any subdirectory - Arguments can be passed from the command line - Static error checking that catches syntax errors and typos - Excellent error messages with source context - The ability to list recipes from the command line - Recipes can be written in any language - Works on Linux, macOS, and Windows - And much more! Just doesn't replace Make, or any other build system, but it does replace reverse-searching your command history, telling colleagues the weird flags they need to pass to do the thing, and forgetting how to run old projects. February 14, 2021 at 07:34AM
Komentar
Posting Komentar