roguelike-game/Makefile

29 lines
363 B
Makefile
Raw Normal View History

2021-12-01 11:03:27 -05:00
run:
cargo run
run-pi:
MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=330 cargo run
clean:
2021-12-24 14:27:44 -05:00
rm -f savegame.json
cargo clean
check:
cargo check
2021-12-01 11:42:17 -05:00
lint:
2021-11-19 11:32:03 -05:00
cargo clippy
2021-12-01 11:03:27 -05:00
fmt:
2021-12-10 20:16:48 -05:00
cargo +nightly fmt
2021-12-01 11:03:27 -05:00
fix: fmt
cargo fix --allow-dirty --allow-staged
2022-01-21 15:55:13 -05:00
docs:
cargo doc
open-docs:
cargo doc --open
.phony: run-pi clean check run fmt fix lint docs open-docs