Jbuilder: use --dev
for running test and other minor improvments
This commit is contained in:
parent
6ecfca9396
commit
44364295ee
10
Makefile
10
Makefile
@ -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
|
||||
|
@ -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))
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user