Swap makefile-native test command with script, add script
This commit is contained in:
parent
540bf1d550
commit
8e715f17a7
6
makefile
6
makefile
@ -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
2
scripts/test_ligo.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
eval $(opam env)
|
||||||
|
dune build @ligo-test
|
Loading…
Reference in New Issue
Block a user