Files
dodo-contractV2/truffle-test.sh

25 lines
358 B
Bash
Raw Normal View History

#!/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
2020-11-30 11:36:36 +08:00
if [ "$1"x = "proxy-mix"x ]
then
truffle test ./test/Proxy/proxy.mix.test.ts
fi
if [ "$1"x = "route"x ]
then
truffle test ./test/Route/route.test.ts
fi