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:
|
||||
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
|
||||
|
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