22 lines
279 B
Makefile
22 lines
279 B
Makefile
run:
|
|
cargo run
|
|
|
|
run-pi:
|
|
MESA_GL_VERSION_OVERRIDE=3.0 MESA_GLSL_VERSION_OVERRIDE=330 cargo run
|
|
|
|
clean:
|
|
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 |