Skip to content

Commit

Permalink
Modify clippy invocation
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewdavidmackenzie committed May 13, 2024
1 parent 5298f71 commit e98290e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@ release: release-build pibuild

.PHONY: piclippy
piclippy:
CROSS_CONTAINER_OPTS="--platform linux/amd64" cross clippy --release --features "rppal","iced" --target=aarch64-unknown-linux-gnu
CROSS_CONTAINER_OPTS="--platform linux/amd64" cross clippy --release --features "rppal","iced" --tests --no-deps --target=aarch64-unknown-linux-gnu

.PHONY: clippy
clippy: piclippy
cargo clippy --features "iced" --tests --no-deps --all-features --all-targets -- --warn clippy::pedantic -D warnings
cargo clippy --features "iced" --tests --no-deps
#-- --warn clippy::pedantic -D warnings

# This will build all binaries on the current host, be it macos, linux or raspberry pi
# Only enable the "iced" feature so we only build the "piggui" binary
Expand Down

0 comments on commit e98290e

Please sign in to comment.