Just. Just is a task runner (written in Rust) and has some resemblance to make. Some things you’ll love about Just
https://github.com/casey/just?tab=readme-ov-file#shebang-recipes
polyglot: python js perl sh ruby nu
python:
#!/usr/bin/env python3
print('Hello from python!')
js:
#!/usr/bin/env node
console.log('Greetings from JavaScript!')
perl:
#!/usr/bin/env perl
print "Larry Wall says Hi!\n";
sh:
#!/usr/bin/env sh
hello='Yo'
echo "$hello from a shell script!"
nu:
#!/usr/bin/env nu
let hello = 'Hola'
echo $"($hello) from a nushell script!"
ruby:
#!/usr/bin/env ruby
puts "Hello from ruby!"
.env
filesset dotenv-load
serve:
@echo "Starting server with database $DATABASE_ADDRESS on port $SERVER_PORT…"
./server --database $DATABASE_ADDRESS --port $SERVER_PORT
build target="prod":
@echo 'Building {{target}}…'
cd {{target}} && make
$ just --list
Available recipes:
build
test
deploy
lint
Stop using a PHONY task runner for Go and Just use Just