ligo/makefile

23 lines
699 B
Makefile
Raw Normal View History

# Use install-deps instead of 'install' because usually 'make install' adds a
# binary to the system path and we don't want to confuse users
.ONESHELL:
install-deps:
# Install ligo/tezos specific system-level dependencies
sudo scripts/install_native_dependencies.sh
2019-06-01 09:32:23 +04:00
build-deps:
# Create opam dev switch locally for use with Ligo, add merlin/etc
2019-06-08 12:57:32 +04:00
scripts/setup_dev_switch.sh
# Set up the local ligo opam repository so that it can be built
scripts/setup_ligo_opam_repository.sh
# Install OCaml build dependencies for Ligo
scripts/install_ligo_with_dependencies.sh
2019-06-01 09:32:23 +04:00
build: build-deps
# Build Ligo for local dev use
scripts/build_ligo_local.sh
2019-06-01 09:32:23 +04:00
test: build
eval $(opam env)
2019-06-01 09:32:23 +04:00
dune build @ligo-test