roguelike-game/Makefile
Timothy Warren 5b8d127af0 Add docs
2022-01-21 15:55:13 -05:00

29 lines
363 B
Makefile

run:
cargo run
run-pi:
MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=330 cargo run
clean:
rm -f savegame.json
cargo clean
check:
cargo check
lint:
cargo clippy
fmt:
cargo +nightly fmt
fix: fmt
cargo fix --allow-dirty --allow-staged
docs:
cargo doc
open-docs:
cargo doc --open
.phony: run-pi clean check run fmt fix lint docs open-docs