Jbuilder: use --dev for running test and other minor improvments

This commit is contained in:
Grégoire Henry 2017-11-13 23:47:13 +01:00 committed by Grégoire
parent 6ecfca9396
commit 44364295ee
6 changed files with 61 additions and 62 deletions

View File

@ -1,18 +1,20 @@
DEV ?= --dev
all:
@jbuilder build tezos.install --dev
@jbuilder build tezos.install ${DEV}
@cp _build/default/src/node_main.exe tezos-node
@cp _build/default/src/client_main.exe tezos-client
@cp _build/default/src/compiler_main.exe tezos-protocol-compiler
doc-html:
@jbuilder build @doc --dev
@jbuilder build @doc ${DEV}
build-test:
@jbuilder build @buildtest --dev
@jbuilder build @buildtest ${DEV}
test:
@jbuilder runtest
@jbuilder runtest ${DEV}
build-deps:
@./scripts/install_build_deps.sh

View File

@ -3,10 +3,7 @@
(library
((name client_lib)
(public_name tezos.client)
(libraries (minutils
utils
cohttp
node_shell
(libraries (node_shell
node_db
node_updater
tezos_protocol_compiler))

View File

@ -3,7 +3,7 @@
(library
((name node_shell)
(public_name tezos.node.shell)
(libraries (utils minutils node_net node_db node_updater ezjsonm ocplib-json-typed.bson))
(libraries (node_net node_db node_updater))
(flags (:standard -w -9+27-30-32-40@8
-safe-string
-open Error_monad