no-more-secrets-rust/justfile

30 lines
413 B
Makefile
Raw Normal View History

2023-07-23 11:01:31 -07:00
default:
just --list
2023-07-23 19:52:25 -07:00
# Build from scratch
2023-07-23 11:01:31 -07:00
build:
cargo build --release
make nms
2023-07-23 19:52:25 -07:00
2023-07-25 23:22:00 -07:00
# Build ncurses version
build_ncurses:
cargo build --release
make nms-ncurses
2023-11-12 11:43:23 -08:00
build_sneakers:
cargo build --release
make sneakers
2023-07-23 19:52:25 -07:00
# 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}}