9bed16badc
added clap, justfile now allows passing args to run recipe
18 lines
240 B
Makefile
18 lines
240 B
Makefile
_default:
|
|
just --list
|
|
|
|
# Run the bot
|
|
[group('dev')]
|
|
run *args:
|
|
cargo run {{args}}
|
|
|
|
# Clean up previous builds
|
|
[group('build')]
|
|
clean:
|
|
cargo clean
|
|
|
|
# Build the bot for production
|
|
[group('build')]
|
|
build:
|
|
cargo build --release
|