Change makefile to use preexisting setup scripts for docker and add new ones

This commit is contained in:
John David Pressman 2019-06-07 22:16:55 -07:00
parent ed418bae71
commit e157e0527b
3 changed files with 18 additions and 3 deletions

View File

@ -1,11 +1,20 @@
install: install:
./install.sh # Install opam and dependencies
scripts/install_build_environment.sh
# Install ligo/tezos specific system-level dependencies
scripts/install_native_dependencies.sh
build-deps: build-deps:
./build-deps.sh # Create opam dev switch locally for use with Ligo, add merlin/etc
scripts/create_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
build: build-deps build: build-deps
./build.sh # Build Ligo for local dev use
scripts/build_ligo_local.sh
test: build test: build
eval $(opam env) eval $(opam env)

View File

@ -0,0 +1,2 @@
eval $(opam env)
dune build -p ligo

View File

@ -0,0 +1,4 @@
opam switch create . ocaml-base-compiler.4.06.1
eval $(opam env)
opam install -y ocp-indent merlin alcotest-lwt crowbar
opam -y user-setup install