Change makefile to use preexisting setup scripts for docker and add new ones
This commit is contained in:
parent
ed418bae71
commit
e157e0527b
15
makefile
15
makefile
@ -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)
|
||||||
|
2
scripts/build_ligo_local.sh
Normal file
2
scripts/build_ligo_local.sh
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
eval $(opam env)
|
||||||
|
dune build -p ligo
|
4
scripts/setup_dev_switch.sh
Normal file
4
scripts/setup_dev_switch.sh
Normal 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
|
Loading…
Reference in New Issue
Block a user