summaryrefslogtreecommitdiffstats
path: root/vendor/jsonpath_lib/clippy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/jsonpath_lib/clippy.sh')
-rwxr-xr-xvendor/jsonpath_lib/clippy.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/vendor/jsonpath_lib/clippy.sh b/vendor/jsonpath_lib/clippy.sh
new file mode 100755
index 000000000..9bf44eba5
--- /dev/null
+++ b/vendor/jsonpath_lib/clippy.sh
@@ -0,0 +1,11 @@
+#!/usr/bin/env bash
+
+set -e
+
+cargo clean
+cargo clippy -- -D warnings
+cargo build --verbose --all
+cargo clippy --all-targets --all-features -- -D warnings -A clippy::cognitive_complexity
+cargo test --verbose --all
+cd wasm && cargo clippy -- -D warnings -A clippy::suspicious_else_formatting
+cd ../ \ No newline at end of file