2019-05-31 22:32:23 -07:00
|
|
|
install:
|
2019-06-07 22:16:55 -07:00
|
|
|
# Install opam and dependencies
|
|
|
|
scripts/install_build_environment.sh
|
|
|
|
# Install ligo/tezos specific system-level dependencies
|
|
|
|
scripts/install_native_dependencies.sh
|
2019-05-31 22:32:23 -07:00
|
|
|
|
|
|
|
build-deps:
|
2019-06-07 22:16:55 -07:00
|
|
|
# Create opam dev switch locally for use with Ligo, add merlin/etc
|
2019-06-08 01:57:32 -07:00
|
|
|
scripts/setup_dev_switch.sh
|
2019-06-07 22:16:55 -07:00
|
|
|
# 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-05-31 22:32:23 -07:00
|
|
|
|
|
|
|
build: build-deps
|
2019-06-07 22:16:55 -07:00
|
|
|
# Build Ligo for local dev use
|
|
|
|
scripts/build_ligo_local.sh
|
2019-05-31 22:32:23 -07:00
|
|
|
|
|
|
|
test: build
|
2019-06-01 20:07:16 -07:00
|
|
|
eval $(opam env)
|
2019-05-31 22:32:23 -07:00
|
|
|
dune build @ligo-test
|