diff --git a/makefile b/makefile index 7b3bc00e1..069943f5b 100644 --- a/makefile +++ b/makefile @@ -22,8 +22,4 @@ build: build-deps .ONESHELL: test: build - eval $(opam env) - run_outcome=`dune build @ligo-test` - if [ ! -n $run_outcome ] - then echo "Run 'eval $(opam env)' and this command will work."; - fi + scripts/test_ligo.sh diff --git a/scripts/test_ligo.sh b/scripts/test_ligo.sh new file mode 100644 index 000000000..d13e26d3d --- /dev/null +++ b/scripts/test_ligo.sh @@ -0,0 +1,2 @@ +eval $(opam env) +dune build @ligo-test