Files
dodo-contractV2/truffle-test.sh
2020-12-01 01:47:31 +08:00

29 lines
451 B
Bash

#!/bin/bash
truffle compile --all
if [ "$1"x = "proxy-dpp"x ]
then
truffle test ./test/Proxy/proxy.dpp.test.ts
fi
if [ "$1"x = "proxy-dvm"x ]
then
truffle test ./test/Proxy/proxy.dvm.test.ts
fi
if [ "$1"x = "proxy-mix"x ]
then
truffle test ./test/Proxy/proxy.mix.test.ts
fi
if [ "$1"x = "proxy-classical"x ]
then
truffle test ./test/Proxy/proxy.classical.test.ts
fi
if [ "$1"x = "route"x ]
then
truffle test ./test/Route/route.test.ts
fi