Skip to content
Snippets Groups Projects
Unverified Commit ff13b087 authored by Nicolas Farrier's avatar Nicolas Farrier Committed by GitHub
Browse files

Run `cargo clippy` when building the Pokémon Service (#1742)

parent 81eb7321
Branches
Tags
No related merge requests found
......@@ -9,4 +9,10 @@
# message = "Fix typos in module documentation for generated crates"
# references = ["smithy-rs#920"]
# meta = { "breaking" = false, "tada" = false, "bug" = false, "target" = "client | server | all"}
# author = "rcoh"
\ No newline at end of file
# author = "rcoh"
[[rust-runtime]]
message = "Pokémon Service example code now runs clippy during build."
references = ["smithy-rs#1727"]
meta = { "breaking" = false, "tada" = false, "bug" = false }
author = "GeneralSwiss"
......@@ -24,6 +24,9 @@ codegen:
cp -av $(SERVER_SDK_SRC)/* $(SERVER_SDK_DST)/
cp -av $(CLIENT_SDK_SRC)/* $(CLIENT_SDK_DST)/
clippy: codegen
cargo clippy
build: codegen
cargo build
ln -sf $(DEBUG_SHARED_LIBRARY_SRC) $(SHARED_LIBRARY_DST)
......
......@@ -20,6 +20,12 @@ build: codegen
run: codegen
cargo run
clippy: codegen
cargo clippy
test: codegen
cargo test
doc-open: codegen
cargo doc --no-deps --open
......
......@@ -6,5 +6,4 @@
set -eux
cd smithy-rs/rust-runtime/aws-smithy-http-server/examples
make
cargo test
make test clippy
......@@ -6,4 +6,4 @@
set -eux
cd smithy-rs/rust-runtime/aws-smithy-http-server-python/examples
make test
make test clippy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment