23 lines
300 B
Makefile
23 lines
300 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
|
|
|
|
.phony: run-pi clean check run fmt fix lint |