superlint/scripts/clippy.sh
Marco Ferrari 1ca3ebccd6
build: reduce container image size (#5072)
- Remove build-time dependencies
- Remove cached NPM packages
- Remove cached PyPi packages
- Remove dependency descriptors. These still count against the total space,
  although it's a few KBs
- Install rust-clippy and rust-fmt using the OS package manager instead of
  maintaining our own installation script
- Add tests for build time dependencies that are not supposed to be installed
2023-12-29 19:30:58 +01:00

11 lines
102 B
Bash
Executable file

#!/usr/bin/env bash
pushd "$(dirname "$1")" || exit 1
cargo-clippy
rc=$?
popd || exit 1
exit $rc