mirror of https://github.com/crytic/slither
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
421 B
25 lines
421 B
6 years ago
|
#!/usr/bin/env bash
|
||
|
|
||
|
### Test
|
||
|
|
||
|
slither "tests/*.json" --solc-ast --ignore-return-value
|
||
|
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "--solc-ast failed"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
slither "tests/*.sol" --solc-disable-warnings --ignore-return-value
|
||
|
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "--solc-ast failed"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
slither "tests/*.sol" --disable-color --ignore-return-value
|
||
|
|
||
|
if [ $? -ne 0 ]; then
|
||
|
echo "--disable-color failed"
|
||
|
exit 1
|
||
|
fi
|