Use hopefully valid syntax with test if conditional
This commit is contained in:
parent
77b743f0e1
commit
540bf1d550
5
makefile
5
makefile
@ -23,6 +23,7 @@ build: build-deps
|
||||
.ONESHELL:
|
||||
test: build
|
||||
eval $(opam env)
|
||||
if [ ! dune build @ligo-test ]
|
||||
then echo "If you get a error message that dune can't be found/isn't in your path, run 'eval $(opam env)' and this command will work.";
|
||||
run_outcome=`dune build @ligo-test`
|
||||
if [ ! -n $run_outcome ]
|
||||
then echo "Run 'eval $(opam env)' and this command will work.";
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user