Swap makefile-native test command with script, add script

This commit is contained in:
John David Pressman 2019-06-08 21:57:46 -07:00
parent 540bf1d550
commit 8e715f17a7
2 changed files with 3 additions and 5 deletions

View File

@ -22,8 +22,4 @@ build: build-deps
.ONESHELL: .ONESHELL:
test: build test: build
eval $(opam env) scripts/test_ligo.sh
run_outcome=`dune build @ligo-test`
if [ ! -n $run_outcome ]
then echo "Run 'eval $(opam env)' and this command will work.";
fi

2
scripts/test_ligo.sh Normal file
View File

@ -0,0 +1,2 @@
eval $(opam env)
dune build @ligo-test