Installation seems to work using README_INSTALL

This commit is contained in:
Georges Dupéron 2019-03-25 17:12:52 +01:00
parent 1ec945fa4b
commit 984fa24ca6
5 changed files with 12 additions and 7 deletions

View File

@ -2,9 +2,16 @@ sudo apt install libev-dev libhidapi-dev
opam init
opam switch create toto ocaml-base-compiler.4.06.1
opam repository add new-tezos https://gitlab.com/gabriel.alfour/new-tezos-opam-repository.git
# si une build a déjà été tentée, il vaut mieux git add tout ce qui est utile et git clean -dfx pour supprimer tout le reste (dune 1.7 crée des fichiers non compatibles avec dune 1.6)
cd src/lib_utils && opam install .
opam install ocplib-endian
rm src/ligo/ligo-parser/AST2.ml src/ligo/ligo-parser/Typecheck2.ml src/ligo/ligo-parser/Typecheck2.mli
git checkout ligo-parser/ligo_parser.ml
sed -i -e '4,5d; s/ |>.*//' ligo-parser/ligo_parser.ml
cd src/ligo/ligo-parser && opam install .
cd src/ligo/ligo-helpers && opam install .
cd src/ligo && opam install .
opam install merlin
opam user-setup install

View File

@ -1 +0,0 @@
let version = "84dbf1f7eee30a9d3f8a8363efa5b6f04e7c2f36"

View File

@ -6,10 +6,9 @@
(modules ParToken Parser)
(flags -la 1 --explain --external-tokens LexToken))
(executables
(names LexerMain ParserMain)
(public_names ligo-lexer ligo-parser)
(package ligo-parser)
(library
(name ligo_parser)
(public_name ligo-parser)
(modules_without_implementation Error)
(libraries getopt hex str uutf zarith))

View File

@ -14,6 +14,7 @@ depends: [
"tezos-utils"
"meta-michelson"
"ligo-helpers"
"ligo-parser"
]
build: [
[ "dune" "build" "-p" name "-j" jobs ]

View File

@ -1,5 +1,4 @@
module A = struct
open Rope_top_level_open
open Rope
let _ = d