Saturday, 13 February 2021

Show HN: Just, a command runner written in Rust https://bit.ly/37cMZMU

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://bit.ly/37fAksO 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 01:34AM

No comments:

Post a Comment