TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Just, a command runner written in Rust

3 pointsby rodarmorover 4 years ago
Just lets you save and run commands from files with a terse, readable syntax similar to Make:<p><pre><code> build: cc *.c -o main # test everything test-all: build .&#x2F;test --all # run a specific test test TEST: build .&#x2F;test --test {{TEST}} </code></pre> It is cross-platform, written in Rust, and actively maintained on GitHub:<p>https:&#x2F;&#x2F;github.com&#x2F;casey&#x2F;just&#x2F;<p>Just has a bunch of nice features:<p><pre><code> - 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! </code></pre> Just doesn&#x27;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.

1 comment

chmaynardover 4 years ago
I can&#x27;t find anything in the docs about indentation rules. Are tabs required (as in Make)?
评论 #26137638 未加载