mirror of
https://github.com/crytic/slither.git
synced 2026-10-12 02:12:39 +00:00
24 lines
404 B
Bash
Executable File
24 lines
404 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
### Test etherlime integration
|
|
|
|
mkdir test_etherlime
|
|
cd test_etherlime || exit 255
|
|
|
|
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
|
|
# shellcheck disable=SC1090
|
|
source ~/.nvm/nvm.sh
|
|
nvm install 10.17.0
|
|
nvm use 10.17.0
|
|
|
|
npm i -g etherlime
|
|
etherlime init
|
|
|
|
if ! slither .; then
|
|
echo "Etherlime test failed"
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|