Tweak make scripts based on observations in virtual machine

This commit is contained in:
John David Pressman 2019-05-31 21:09:08 -07:00
parent 849b91157f
commit 533913fd36
2 changed files with 9 additions and 7 deletions

View File

@ -1,6 +1,8 @@
#!/bin/sh
opam switch create .. ocaml-base-compiler.4.06.1
eval $(opam env)
vendors/opam-repository-tools/rewrite-local-opam-repository.sh
opam repository add localrepo "file://$PWD/vendors/ligo-opam-repository-local-generated/"
opam install ocp-indent merlin alcotest-lwt crowbar
opam install -y ocp-indent merlin alcotest-lwt crowbar
opam user-setup install
opam install -y --build-test --deps-only ./src/

View File

@ -1,6 +1,6 @@
add-apt-repository ppa:avsm/ppa
apt update
apt-get install opam mercurial darcs make m4 gcc libev-dev libgmp-dev pkg-config libhidapi-dev
opam init --bare
y
y
#! /bin/sh
sudo add-apt-repository -y ppa:avsm/ppa
sudo apt-get update
sudo apt-get install -y opam mercurial darcs make m4 gcc libev-dev libgmp-dev pkg-config libhidapi-dev
opam init --bare -a