Try shell if syntax in makefile
This commit is contained in:
parent
8c8f1c4577
commit
30700aefd4
4
makefile
4
makefile
@ -6,7 +6,9 @@ install-deps:
|
|||||||
|
|
||||||
build-deps:
|
build-deps:
|
||||||
# Create opam dev switch locally for use with Ligo, add merlin/etc
|
# Create opam dev switch locally for use with Ligo, add merlin/etc
|
||||||
scripts/setup_dev_switch.sh
|
if [ -n "`opam switch show | grep -P ".+/ligo"`" ];
|
||||||
|
then exit; else scripts/setup_dev_switch.sh;
|
||||||
|
fi
|
||||||
# Set up the local ligo opam repository so that it can be built
|
# Set up the local ligo opam repository so that it can be built
|
||||||
scripts/setup_ligo_opam_repository.sh
|
scripts/setup_ligo_opam_repository.sh
|
||||||
# Install OCaml build dependencies for Ligo
|
# Install OCaml build dependencies for Ligo
|
||||||
|
Loading…
Reference in New Issue
Block a user