no-more-secrets-rust/justfile
2023-11-12 11:43:23 -08:00

30 lines
413 B
Makefile

default:
just --list
# Build from scratch
build:
cargo build --release
make nms
# Build ncurses version
build_ncurses:
cargo build --release
make nms-ncurses
build_sneakers:
cargo build --release
make sneakers
# Clean all project files
clean:
rm -rf obj
rm -rf bin
cargo clean
# A sample run of the program
sample_run *args:
cat Cargo.toml | ./bin/nms {{args}}