mirror of
https://github.com/crytic/slither.git
synced 2026-10-12 02:12:39 +00:00
23 lines
522 B
Bash
Executable File
23 lines
522 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
### Test
|
|
|
|
|
|
solc-select use 0.7.0
|
|
|
|
if ! slither "tests/e2e/config/test_json_config/test.sol" --solc-ast --no-fail-pedantic; then
|
|
echo "--solc-ast failed"
|
|
exit 1
|
|
fi
|
|
|
|
if ! slither "tests/e2e/config/test_json_config/test.sol" --solc-disable-warnings --no-fail-pedantic; then
|
|
echo "--solc-disable-warnings failed"
|
|
exit 1
|
|
fi
|
|
|
|
if ! slither "tests/e2e/config/test_json_config/test.sol" --disable-color --no-fail-pedantic; then
|
|
echo "--disable-color failed"
|
|
exit 1
|
|
fi
|