Skip to content

Commit d46be50

Browse files
committed
cleanup anvil on exit
1 parent b4fbadb commit d46be50

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

run.sh renamed to devland.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,21 @@ set -e
44

55
SCENARIO=${1:-EulerSwapBasic}
66

7+
8+
function cleanup {
9+
pkill -P $$
10+
}
11+
12+
trap cleanup EXIT
13+
14+
715
anvil --code-size-limit 100000 &
816
sleep 1
917

18+
1019
bash ./deploy-scenario.sh "$SCENARIO"
1120

21+
1222
echo -------------------------------
1323
echo DEVLAND READY
1424
echo SCENARIO = $SCENARIO

0 commit comments

Comments
 (0)