diff --git a/CHANGELOG.next.toml b/CHANGELOG.next.toml index fc4c4c2578b5c5f185517bd30b00e87999da307c..3b1b94fedc6f01e41d9f57bf64cf09add0bffe6b 100644 --- a/CHANGELOG.next.toml +++ b/CHANGELOG.next.toml @@ -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" diff --git a/rust-runtime/aws-smithy-http-server-python/examples/Makefile b/rust-runtime/aws-smithy-http-server-python/examples/Makefile index a44194721c01571d039c82873e74d2b6e1267ad3..c3af9f378b18845e1d538b860ed8c4d8dc5f621f 100644 --- a/rust-runtime/aws-smithy-http-server-python/examples/Makefile +++ b/rust-runtime/aws-smithy-http-server-python/examples/Makefile @@ -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) diff --git a/rust-runtime/aws-smithy-http-server/examples/Makefile b/rust-runtime/aws-smithy-http-server/examples/Makefile index 28f49f2d5d8b93e889d356f37f8c28fc3c58c165..a31e805d8bfabc411b09417cae52b192cfccedf0 100644 --- a/rust-runtime/aws-smithy-http-server/examples/Makefile +++ b/rust-runtime/aws-smithy-http-server/examples/Makefile @@ -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 diff --git a/tools/ci-build/scripts/check-server-e2e-test b/tools/ci-build/scripts/check-server-e2e-test index 9a37b3aabc24a54a9cc41f2321433e1c8d987ef3..8b178907246ba0be085edc3f0d7115774c751170 100755 --- a/tools/ci-build/scripts/check-server-e2e-test +++ b/tools/ci-build/scripts/check-server-e2e-test @@ -6,5 +6,4 @@ set -eux cd smithy-rs/rust-runtime/aws-smithy-http-server/examples -make -cargo test +make test clippy diff --git a/tools/ci-build/scripts/check-server-python-e2e-test b/tools/ci-build/scripts/check-server-python-e2e-test index 9b55c6377e175c47c97bab6a5b8b92cc2bab8055..fbaf9b0d6716f313d6adc83168b303877ab02064 100755 --- a/tools/ci-build/scripts/check-server-python-e2e-test +++ b/tools/ci-build/scripts/check-server-python-e2e-test @@ -6,4 +6,4 @@ set -eux cd smithy-rs/rust-runtime/aws-smithy-http-server-python/examples -make test +make test clippy