Build: Jbuilder -> Dune 1.0.1
This commit is contained in:
parent
907423a85b
commit
b89682e441
@ -45,7 +45,7 @@ check_opam_deps:
|
||||
check_indentation:
|
||||
<<: *build_definition
|
||||
script:
|
||||
- jbuilder build @runtest_indent
|
||||
- dune build @runtest_indent
|
||||
|
||||
build:
|
||||
<<: *build_definition
|
||||
@ -72,97 +72,97 @@ build:
|
||||
test:stdlib:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_stdlib/runtest
|
||||
- dune build @src/lib_stdlib/runtest
|
||||
|
||||
test:stdlib_unix:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_stdlib_unix/runtest
|
||||
- dune build @src/lib_stdlib_unix/runtest
|
||||
|
||||
test:data_encoding:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_data_encoding/runtest
|
||||
- dune build @src/lib_data_encoding/runtest
|
||||
|
||||
test:storage:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_storage/runtest
|
||||
- dune build @src/lib_storage/runtest
|
||||
|
||||
test:crypto:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_crypto/runtest
|
||||
- dune build @src/lib_crypto/runtest
|
||||
|
||||
test:shell:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_shell/runtest
|
||||
- dune build @src/lib_shell/runtest
|
||||
|
||||
test:p2p:io-scheduler:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_p2p/runtest_p2p_io_scheduler_ipv4
|
||||
- dune build @src/lib_p2p/runtest_p2p_io_scheduler_ipv4
|
||||
|
||||
test:p2p:socket:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_p2p/runtest_p2p_socket_ipv4
|
||||
- dune build @src/lib_p2p/runtest_p2p_socket_ipv4
|
||||
|
||||
test:p2p:pool:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_p2p/runtest_p2p_pool_ipv4
|
||||
- dune build @src/lib_p2p/runtest_p2p_pool_ipv4
|
||||
|
||||
test:proto_alpha:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/proto_alpha/lib_protocol/runtest
|
||||
- dune build @src/proto_alpha/lib_protocol/runtest
|
||||
|
||||
test:p2p:peerset:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_p2p/runtest_p2p_peerset
|
||||
- dune build @src/lib_p2p/runtest_p2p_peerset
|
||||
|
||||
test:p2p:ipv6set:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_p2p/runtest_p2p_ipv6set
|
||||
- dune build @src/lib_p2p/runtest_p2p_ipv6set
|
||||
|
||||
test:p2p:banned_peers:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/lib_p2p/runtest_p2p_banned_peers
|
||||
- dune build @src/lib_p2p/runtest_p2p_banned_peers
|
||||
|
||||
test:client_alpha:vote:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/proto_alpha/lib_delegate/runtest_vote
|
||||
- dune build @src/proto_alpha/lib_delegate/runtest_vote
|
||||
|
||||
test:basic.sh:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/bin_client/runtest_basic.sh
|
||||
- dune build @src/bin_client/runtest_basic.sh
|
||||
|
||||
test:contracts.sh:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/bin_client/runtest_contracts.sh
|
||||
- dune build @src/bin_client/runtest_contracts.sh
|
||||
|
||||
test:multinode.sh:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/bin_client/runtest_multinode.sh
|
||||
- dune build @src/bin_client/runtest_multinode.sh
|
||||
|
||||
test:inject.sh:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @src/bin_client/runtest_injection.sh
|
||||
- dune build @src/bin_client/runtest_injection.sh
|
||||
|
||||
test:proto:sandbox:
|
||||
<<: *test_definition
|
||||
script:
|
||||
- jbuilder build @runtest_sandbox
|
||||
- dune build @runtest_sandbox
|
||||
|
||||
test:documentation:
|
||||
<<: *test_definition
|
||||
|
27
Makefile
27
Makefile
@ -1,5 +1,4 @@
|
||||
|
||||
DEV ?= --dev
|
||||
PACKAGES:=$(patsubst %.opam,%,$(notdir $(shell find src vendors -name \*.opam -print)))
|
||||
|
||||
active_protocol_versions := $(shell cat active_protocol_versions)
|
||||
@ -18,7 +17,7 @@ all:
|
||||
ifneq (${current_ocaml_version},${ocaml_version})
|
||||
$(error Unexpected ocaml version (found: ${current_ocaml_version}, expected: ${ocaml_version}))
|
||||
endif
|
||||
@jbuilder build ${DEV} \
|
||||
@dune build \
|
||||
src/bin_node/main.exe \
|
||||
src/bin_client/main_client.exe \
|
||||
src/bin_client/main_admin.exe \
|
||||
@ -39,20 +38,20 @@ endif
|
||||
done
|
||||
|
||||
all.pkg:
|
||||
@jbuilder build ${DEV} \
|
||||
@dune build \
|
||||
$(patsubst %.opam,%.install, $(shell find src vendors -name \*.opam -print))
|
||||
|
||||
$(addsuffix .pkg,${PACKAGES}): %.pkg:
|
||||
@jbuilder build ${DEV} \
|
||||
@dune build \
|
||||
$(patsubst %.opam,%.install, $(shell find src vendors -name $*.opam -print))
|
||||
|
||||
$(addsuffix .test,${PACKAGES}): %.test:
|
||||
@jbuilder build ${DEV} \
|
||||
@dune build \
|
||||
@$(patsubst %/$*.opam,%,$(shell find src vendors -name $*.opam))/runtest
|
||||
|
||||
doc-html: all
|
||||
@jbuilder build @doc ${DEV}
|
||||
@./tezos-client -protocol ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK man -verbosity 3 -format html | sed "s/$HOME/\$HOME/g" > docs/api/tezos-client.html
|
||||
@dune build @doc
|
||||
@./tezos-client -protocol PtCJ7pwoxe8JasnHY8YonnLYjcVHmhiARPJvqcC6VfHT5s8k8sY man -verbosity 3 -format html | sed "s/$HOME/\$HOME/g" > docs/api/tezos-client.html
|
||||
@./tezos-admin-client man -verbosity 3 -format html | sed "s/$HOME/\$HOME/g" > docs/api/tezos-admin-client.html
|
||||
@mkdir -p $$(pwd)/docs/_build/api/odoc
|
||||
@rm -rf $$(pwd)/docs/_build/api/odoc/*
|
||||
@ -60,14 +59,14 @@ doc-html: all
|
||||
@${MAKE} -C docs
|
||||
|
||||
build-test:
|
||||
@jbuilder build @buildtest ${DEV}
|
||||
@dune build @buildtest
|
||||
|
||||
test:
|
||||
@jbuilder runtest ${DEV}
|
||||
@dune runtest
|
||||
@./scripts/check_opam_test.sh
|
||||
|
||||
test-indent:
|
||||
@jbuilder build @runtest_indent ${DEV}
|
||||
@dune build @runtest_indent
|
||||
|
||||
fix-indent:
|
||||
@src/lib_stdlib/test-ocp-indent.sh fix
|
||||
@ -79,14 +78,14 @@ docker-image:
|
||||
@./scripts/create_docker_image.sh
|
||||
|
||||
install:
|
||||
@jbuilder build @install
|
||||
@jbuilder install
|
||||
@dune build @install
|
||||
@dune install
|
||||
|
||||
uninstall:
|
||||
@jbuilder uninstall
|
||||
@dune uninstall
|
||||
|
||||
clean:
|
||||
@-jbuilder clean
|
||||
@-dune clean
|
||||
@-rm -f \
|
||||
tezos-node \
|
||||
tezos-client \
|
||||
|
@ -20,20 +20,20 @@ introduction/readme.rst: ../README.rst
|
||||
sed 's/TEZOS/How to build and run/' $< > $@
|
||||
|
||||
api/errors.rst: $(DOCERRORDIR)/error_doc.ml
|
||||
@cd .. && jbuilder build ${DEV} docs/$(DOCERRORDIR)/error_doc.exe
|
||||
@cd .. && dune build ${DEV} docs/$(DOCERRORDIR)/error_doc.exe
|
||||
../_build/default/docs/$(DOCERRORDIR)/error_doc.exe > api/errors.rst
|
||||
|
||||
$(DOCGENDIR)/rpc_doc.exe:
|
||||
@cd .. && jbuilder build ${DEV} docs/$(DOCGENDIR)/rpc_doc.exe
|
||||
@cd .. && dune build ${DEV} docs/$(DOCGENDIR)/rpc_doc.exe
|
||||
|
||||
api/rpc.rst: $(DOCGENDIR)/rpc_doc.exe api/rpc_usage.rst.inc
|
||||
@jbuilder exec $(DOCGENDIR)/rpc_doc.exe < api/rpc_usage.rst.inc > api/rpc.rst
|
||||
@dune exec $(DOCGENDIR)/rpc_doc.exe < api/rpc_usage.rst.inc > api/rpc.rst
|
||||
|
||||
$(DOCGENDIR)/p2p_doc.exe:
|
||||
@cd .. && jbuilder build ${DEV} docs/$(DOCGENDIR)/p2p_doc.exe
|
||||
@cd .. && dune build ${DEV} docs/$(DOCGENDIR)/p2p_doc.exe
|
||||
|
||||
api/p2p.rst: $(DOCGENDIR)/p2p_doc.exe api/p2p_usage.rst.inc
|
||||
@jbuilder exec $(DOCGENDIR)/p2p_doc.exe < api/p2p_usage.rst.inc > api/p2p.rst
|
||||
@dune exec $(DOCGENDIR)/p2p_doc.exe < api/p2p_usage.rst.inc > api/p2p.rst
|
||||
|
||||
.PHONY: help Makefile
|
||||
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-client-genesis"
|
||||
@ -22,8 +22,8 @@ depends: [
|
||||
"tezos-protocol-compiler" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-rpc-http"
|
||||
"tezos-p2p"
|
||||
@ -21,8 +21,8 @@ depends: [
|
||||
"tls"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-client-base-unix"
|
||||
@ -19,8 +19,8 @@ depends: [
|
||||
"tezos-signer-backends"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-stdlib"
|
||||
"tezos-crypto"
|
||||
"tezos-data-encoding"
|
||||
@ -22,8 +22,8 @@ depends: [
|
||||
"re" { >= "1.7.2" }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,13 +8,13 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-stdlib"
|
||||
"tezos-error-monad"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-stdlib-unix"
|
||||
"tezos-shell-services"
|
||||
@ -19,8 +19,8 @@ depends: [
|
||||
"bip39"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-stdlib-unix"
|
||||
@ -17,8 +17,8 @@ depends: [
|
||||
"tezos-client-commands"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-rpc"
|
||||
@ -16,8 +16,8 @@ depends: [
|
||||
"tezos-signer-backends"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-stdlib"
|
||||
"tezos-data-encoding"
|
||||
"tezos-error-monad"
|
||||
@ -23,8 +23,8 @@ depends: [
|
||||
"alcotest" { test & >= "0.8.3" }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-stdlib"
|
||||
"ezjsonm"
|
||||
"ocplib-json-typed"
|
||||
@ -18,8 +18,8 @@ depends: [
|
||||
"crowbar" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,14 +8,14 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-stdlib"
|
||||
"tezos-data-encoding"
|
||||
"lwt"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,14 +8,14 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-data-encoding"
|
||||
"tezos-error-monad"
|
||||
"uutf"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-stdlib-unix"
|
||||
"tezos-shell-services"
|
||||
"alcotest-lwt" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -3,7 +3,7 @@
|
||||
(* Build a functorized version of the protocol with the
|
||||
`tezos-protocol-compiler` This is bit hackish...
|
||||
|
||||
AFAIK the current version of jbuilder (1.0+beta16) does not allow
|
||||
AFAIK the current version of dune (1.0.1) does not allow
|
||||
to compile with a custom `rule` the `(modules)` of a library.
|
||||
|
||||
A trick is to provide the `.cmx` through the `(library_flags)` and
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"base-unix"
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment-sigs"
|
||||
@ -17,10 +17,10 @@ depends: [
|
||||
"ocp-ocamlres" { >= "0.4" }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
## ocaml-version should be in sync with `script/version.sh`
|
||||
available: [ ocaml-version = "4.06.1" ]
|
@ -8,14 +8,14 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-storage"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,12 +8,12 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-stdlib" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,14 +8,14 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment-sigs"
|
||||
"alcotest-lwt" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-micheline"
|
||||
"tezos-shell-services"
|
||||
@ -18,8 +18,8 @@ depends: [
|
||||
"tezos-storage"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-error-monad"
|
||||
"tezos-data-encoding"
|
||||
"ocplib-resto"
|
||||
"ocplib-resto-directory"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,14 +8,14 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"ocplib-resto-directory"
|
||||
"ocplib-resto-cohttp"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -274,7 +274,7 @@ let compute_size_chain size_locator =
|
||||
(* test if the linear and exponential locator are the same and outputs
|
||||
their timing.
|
||||
Run the test with:
|
||||
$ jbuilder build @runbench_locator
|
||||
$ dune build @runbench_locator
|
||||
Copy the output to a file timing.dat and plot it with:
|
||||
$ test_locator_plot.sh timing.dat
|
||||
*)
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
# plots the output of 'jbuilder build @runtest_locator'
|
||||
# plots the output of 'dune build @runtest_locator'
|
||||
|
||||
set -e
|
||||
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-rpc-http"
|
||||
"tezos-p2p"
|
||||
@ -20,8 +20,8 @@ depends: [
|
||||
"tezos-protocol-alpha" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,12 +8,12 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-stdlib-unix"
|
||||
"tezos-client-base"
|
||||
@ -21,8 +21,8 @@ depends: [
|
||||
"alcotest-lwt" {test & >= "0.8.0"}
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,14 +8,14 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-rpc"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"bigstring"
|
||||
"hex"
|
||||
"ocplib-endian"
|
||||
@ -19,8 +19,8 @@ depends: [
|
||||
"ocp-indent" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"lwt" { >= "3.0.0" }
|
||||
"conf-libev"
|
||||
"ipaddr"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"lmdb"
|
||||
"irmin-lmdb"
|
||||
@ -16,8 +16,8 @@ depends: [
|
||||
"alcotest-lwt" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-client-genesis"
|
||||
@ -19,5 +19,5 @@ depends: [
|
||||
"tezos-baking-alpha-commands"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-client-genesis"
|
||||
@ -19,5 +19,5 @@ depends: [
|
||||
"tezos-baking-alpha-commands"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-client-base"
|
||||
"tezos-client-genesis"
|
||||
@ -19,5 +19,5 @@ depends: [
|
||||
"tezos-baking-alpha-commands"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -17,5 +17,5 @@ depends: [
|
||||
"tezos-signer-backends"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -18,5 +18,5 @@ depends: [
|
||||
"tezos-client-commands"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -20,5 +20,5 @@ depends: [
|
||||
"tezos-signer-backends" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -20,5 +20,5 @@ depends: [
|
||||
"tezos-signer-backends" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -20,5 +20,5 @@ depends: [
|
||||
"tezos-signer-backends" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -22,8 +22,8 @@ depends: [
|
||||
"alcotest-lwt" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-environment"
|
||||
"tezos-protocol-alpha"
|
||||
@ -20,5 +20,5 @@ depends: [
|
||||
"tezos-signer-backends" { test }
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-compiler"
|
||||
"tezos-protocol-updater"
|
||||
@ -17,8 +17,8 @@ build: [
|
||||
[ "rm" "jbuild" "src/jbuild" ]
|
||||
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_embedded_protocol_template" "src/jbuild" ]
|
||||
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"alpha\"/" "src/jbuild" ]
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-protocol-compiler"
|
||||
"alcotest-lwt" { test }
|
||||
@ -21,8 +21,8 @@ build: [
|
||||
[ "rm" "jbuild" "src/jbuild" ]
|
||||
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_protocol_template" "jbuild" ]
|
||||
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"alpha\"/" "jbuild" ]
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & >= "1.0+beta20" }
|
||||
"dune" { build & >= "1.0.1" }
|
||||
"tezos-protocol-compiler"
|
||||
"tezos-protocol-updater"
|
||||
]
|
||||
@ -16,8 +16,8 @@ build: [
|
||||
[ "rm" "jbuild" "src/jbuild" ]
|
||||
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_embedded_protocol_template" "src/jbuild" ]
|
||||
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"demo\"/" "src/jbuild" ]
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & >= "1.0+beta20" }
|
||||
"dune" { build & >= "1.0.1" }
|
||||
"tezos-protocol-compiler"
|
||||
]
|
||||
build: [
|
||||
[ "rm" "jbuild" "src/jbuild" ]
|
||||
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_protocol_template" "jbuild" ]
|
||||
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"demo\"/" "jbuild" ]
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-base"
|
||||
"tezos-shell-services"
|
||||
"tezos-client-base"
|
||||
@ -18,8 +18,8 @@ depends: [
|
||||
"tezos-protocol-alpha"
|
||||
]
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,7 +8,7 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-protocol-compiler"
|
||||
"tezos-protocol-updater"
|
||||
]
|
||||
@ -16,8 +16,8 @@ build: [
|
||||
[ "rm" "jbuild" "src/jbuild" ]
|
||||
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_embedded_protocol_template" "src/jbuild" ]
|
||||
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"genesis\"/" "src/jbuild" ]
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "unreleased"
|
||||
depends: [
|
||||
"ocamlfind" { build }
|
||||
"jbuilder" { build & = "1.0+beta20" }
|
||||
"dune" { build & = "1.0.1" }
|
||||
"tezos-protocol-compiler"
|
||||
]
|
||||
build: [
|
||||
[ "rm" "jbuild" "src/jbuild" ]
|
||||
[ "cp" "%{tezos-protocol-compiler:share}%/jbuild_protocol_template" "jbuild" ]
|
||||
[ "sed" "-i" "s/let predefined_version = None/let predefined_version = Some \"genesis\"/" "jbuild" ]
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
8
vendors/irmin-lmdb/irmin-lmdb.opam
vendored
8
vendors/irmin-lmdb/irmin-lmdb.opam
vendored
@ -8,13 +8,13 @@ dev-repo: "https://gitlab.com/tezos/irmin-lmdb.git"
|
||||
doc: "https://tezos.gitlab.io/irmin-lmdb/"
|
||||
|
||||
build: [
|
||||
["jbuilder" "subst"] {pinned}
|
||||
["jbuilder" "build" "-p" name "-j" jobs]
|
||||
["dune" "subst"] {pinned}
|
||||
["dune" "build" "-p" name "-j" jobs]
|
||||
]
|
||||
build-test: ["jbuilder" "runtest" "-p" name]
|
||||
build-test: ["dune" "runtest" "-p" name]
|
||||
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta10"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"irmin" {>= "1.4.0"}
|
||||
"lmdb" {>= "0.1"}
|
||||
]
|
||||
|
4
vendors/ocaml-bip39/bip39.opam
vendored
4
vendors/ocaml-bip39/bip39.opam
vendored
@ -10,9 +10,9 @@ dev-repo: "https://github.com/vbmithr/ocaml-bip39.git"
|
||||
bug-reports: "https://github.com/vbmithr/ocaml-bip39/issues"
|
||||
tags: []
|
||||
available: [ ocaml-version >= "4.03.0" ]
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
depends: [
|
||||
"jbuilder" {build & = "1.0+beta20"}
|
||||
"dune" {build & = "1.0.1"}
|
||||
"base" {build & >= "v0.10.0"}
|
||||
"stdio" {build & >= "v0.10.0"}
|
||||
"nocrypto" {>= "0.5.4"}
|
||||
|
6
vendors/ocaml-blake2/blake2.opam
vendored
6
vendors/ocaml-blake2/blake2.opam
vendored
@ -12,10 +12,10 @@ available: [
|
||||
ocaml-version >= "4.02.0"
|
||||
]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta16"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"bigstring" {>= "0.1.1"}
|
||||
"alcotest" { test }
|
||||
"hex" {test & >= "1.2.0"}
|
||||
|
6
vendors/ocaml-hacl/hacl.opam
vendored
6
vendors/ocaml-hacl/hacl.opam
vendored
@ -8,7 +8,7 @@ bug-reports: "https://gitlab.com/tezos/tezos/issues"
|
||||
dev-repo: "https://gitlab.com/tezos/tezos.git"
|
||||
license: "MIT"
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta16"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"bigstring" {>= "0.1.1"}
|
||||
"ocplib-endian" {>= "1.0"}
|
||||
"zarith" {>= "1.7"}
|
||||
@ -17,6 +17,6 @@ depends: [
|
||||
"base"
|
||||
"stdio"
|
||||
]
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
available: [ ocaml-version >= "4.02.0" ]
|
||||
|
@ -12,9 +12,9 @@ available: [
|
||||
ocaml-version >= "4.02.0"
|
||||
]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta16"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"ledgerwallet" {= "dev"}
|
||||
]
|
||||
|
@ -12,10 +12,10 @@ available: [
|
||||
ocaml-version >= "4.02.0"
|
||||
]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta16"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"rresult" {>= "0.5.0"}
|
||||
"cstruct" {>= "3.2.1"}
|
||||
"hidapi" {>= "1.0"}
|
||||
|
4
vendors/ocaml-lmdb/lmdb.opam
vendored
4
vendors/ocaml-lmdb/lmdb.opam
vendored
@ -12,9 +12,9 @@ available: [
|
||||
ocaml-version >= "4.02.0"
|
||||
]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta18"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"rresult" {>= "0.5.0"}
|
||||
"cstruct" {test & >= "3.2.1"}
|
||||
"alcotest" {test & >= "0.8.1"}
|
||||
|
2
vendors/ocaml-pbkdf/CHANGES.md
vendored
2
vendors/ocaml-pbkdf/CHANGES.md
vendored
@ -1,6 +1,6 @@
|
||||
# 0.3.0 (2018-02-16)
|
||||
|
||||
* Build: switch to jbuilder
|
||||
* Build: switch to dune
|
||||
|
||||
# 0.2.0 (2016-10-31)
|
||||
|
||||
|
6
vendors/ocaml-pbkdf/pbkdf.opam
vendored
6
vendors/ocaml-pbkdf/pbkdf.opam
vendored
@ -8,10 +8,10 @@ authors: ["Alfredo Beaumont <alfredo.beaumont@gmail.com>" "Sonia Meruelo <s
|
||||
maintainer: ["Alfredo Beaumont <alfredo.beaumont@gmail.com>"]
|
||||
license: "BSD2"
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & = "1.0+beta20"}
|
||||
"dune" {build & = "1.0.1"}
|
||||
"nocrypto" {>= "0.5.4"}
|
||||
"alcotest" {test & >= "0.8.1"}
|
||||
]
|
||||
|
4
vendors/ocaml-secp256k1/secp256k1.opam
vendored
4
vendors/ocaml-secp256k1/secp256k1.opam
vendored
@ -11,10 +11,10 @@ available: [
|
||||
ocaml-version >= "4.03.0"
|
||||
]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
depends: [
|
||||
"conf-gmp" {build}
|
||||
"jbuilder" {build & >= "1.0+beta20"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"cstruct" {>= "3.2.1"}
|
||||
"bigstring" {>= "0.1.1"}
|
||||
]
|
||||
|
6
vendors/ocaml-uecc/uecc.opam
vendored
6
vendors/ocaml-uecc/uecc.opam
vendored
@ -12,10 +12,10 @@ available: [
|
||||
ocaml-version >= "4.02.0"
|
||||
]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta19.1"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"bigstring" {>= "0.1.1"}
|
||||
"alcotest" {test & >= "0.8.1"}
|
||||
"cstruct" {test & >= "3.2.1"}
|
||||
|
6
vendors/ocplib-json-typed/Makefile
vendored
6
vendors/ocplib-json-typed/Makefile
vendored
@ -1,11 +1,11 @@
|
||||
all:
|
||||
jbuilder build @install @runtest --dev
|
||||
dune build @install @runtest --dev
|
||||
|
||||
install:
|
||||
jbuilder install
|
||||
dune install
|
||||
|
||||
uninstall:
|
||||
jbuilder uninstall
|
||||
dune uninstall
|
||||
|
||||
clean:
|
||||
rm -rf _build *~ */*~
|
||||
|
@ -9,9 +9,9 @@ license: "LGPLv3 w/ linking exception"
|
||||
dev-repo: "https://github.com/ocamlpro/ocplib-json-typed.git"
|
||||
available: [ ocaml-version >= "4.02.0" ]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta20"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"uri" {>= "1.9.0" }
|
||||
]
|
||||
|
@ -9,10 +9,10 @@ license: "LGPLv3 w/ linking exception"
|
||||
dev-repo: "https://github.com/ocamlpro/ocplib-json-typed.git"
|
||||
available: [ ocaml-version >= "4.02.0" ]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta20"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"ocplib-json-typed" {= "0.6" }
|
||||
"js_of_ocaml" {>= "3.1.0"}
|
||||
]
|
||||
|
@ -9,10 +9,10 @@ license: "LGPLv3 w/ linking exception"
|
||||
dev-repo: "https://github.com/ocamlpro/ocplib-json-typed.git"
|
||||
available: [ ocaml-version >= "4.02.0" ]
|
||||
|
||||
build: [ "jbuilder" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
build: [ "dune" "build" "-j" jobs "-p" name "@install" ]
|
||||
build-test: [ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
depends: [
|
||||
"jbuilder" {build & >= "1.0+beta20"}
|
||||
"dune" {build & >= "1.0.1"}
|
||||
"ocplib-json-typed" {= "0.6" }
|
||||
"ocplib-endian" {>= "1.0"}
|
||||
]
|
||||
|
8
vendors/ocplib-resto/Makefile
vendored
8
vendors/ocplib-resto/Makefile
vendored
@ -1,13 +1,13 @@
|
||||
|
||||
all:
|
||||
jbuilder build --dev
|
||||
dune build --dev
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
jbuilder runtest --dev
|
||||
dune runtest --dev
|
||||
|
||||
doc-html:
|
||||
jbuilder build @doc --dev
|
||||
dune build @doc --dev
|
||||
|
||||
clean:
|
||||
jbuilder clean
|
||||
dune clean
|
||||
|
@ -8,15 +8,15 @@ bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
|
||||
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
|
||||
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
||||
depends: [
|
||||
"ocamlfind" {build}
|
||||
"jbuilder" {build}
|
||||
"dune" {build}
|
||||
"ocplib-ezresto" {= "dev" }
|
||||
"ocplib-resto-directory" {= "dev" }
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
|
||||
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
|
||||
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
||||
depends: [
|
||||
"ocamlfind" {build}
|
||||
"jbuilder" {build}
|
||||
"dune" {build}
|
||||
"ocplib-resto" {= "dev" }
|
||||
"ocplib-resto-json" {= "dev" }
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
|
||||
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
|
||||
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
||||
depends: [
|
||||
"ocamlfind" {build}
|
||||
"jbuilder" {build}
|
||||
"dune" {build}
|
||||
"ocplib-resto-directory" {= "dev" }
|
||||
"cohttp-lwt-unix" { >= "1.0.0" }
|
||||
]
|
||||
|
@ -8,15 +8,15 @@ bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
|
||||
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
|
||||
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
||||
depends: [
|
||||
"ocamlfind" {build}
|
||||
"jbuilder" {build}
|
||||
"dune" {build}
|
||||
"ocplib-resto" {= "dev" }
|
||||
"ocplib-resto-json" {= "dev" & test }
|
||||
"lwt" { >= "3.0.0" }
|
||||
|
@ -8,15 +8,15 @@ bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
|
||||
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
|
||||
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
||||
depends: [
|
||||
"ocamlfind" {build}
|
||||
"jbuilder" {build}
|
||||
"dune" {build}
|
||||
"ocplib-resto" {= "dev" }
|
||||
"ocplib-json-typed-bson" { >= "0.6" }
|
||||
]
|
||||
|
@ -8,14 +8,14 @@ bug-reports: "https://github.com/OCamlPro/ocplib-resto/issues"
|
||||
dev-repo: "git+https://github.com/OCamlPro/ocplib-resto"
|
||||
|
||||
build: [
|
||||
[ "jbuilder" "build" "-p" name "-j" jobs ]
|
||||
[ "dune" "build" "-p" name "-j" jobs ]
|
||||
]
|
||||
build-test: [
|
||||
[ "jbuilder" "runtest" "-p" name "-j" jobs ]
|
||||
[ "dune" "runtest" "-p" name "-j" jobs ]
|
||||
]
|
||||
|
||||
depends: [
|
||||
"ocamlfind" {build}
|
||||
"jbuilder" {build}
|
||||
"dune" {build}
|
||||
"uri"
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user