29 lines
363 B
Makefile
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 |