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:
|
all:
|
||||||
@jbuilder build tezos.install --dev
|
@jbuilder build tezos.install ${DEV}
|
||||||
@cp _build/default/src/node_main.exe tezos-node
|
@cp _build/default/src/node_main.exe tezos-node
|
||||||
@cp _build/default/src/client_main.exe tezos-client
|
@cp _build/default/src/client_main.exe tezos-client
|
||||||
@cp _build/default/src/compiler_main.exe tezos-protocol-compiler
|
@cp _build/default/src/compiler_main.exe tezos-protocol-compiler
|
||||||
|
|
||||||
doc-html:
|
doc-html:
|
||||||
@jbuilder build @doc --dev
|
@jbuilder build @doc ${DEV}
|
||||||
|
|
||||||
build-test:
|
build-test:
|
||||||
@jbuilder build @buildtest --dev
|
@jbuilder build @buildtest ${DEV}
|
||||||
|
|
||||||
test:
|
test:
|
||||||
@jbuilder runtest
|
@jbuilder runtest ${DEV}
|
||||||
|
|
||||||
build-deps:
|
build-deps:
|
||||||
@./scripts/install_build_deps.sh
|
@./scripts/install_build_deps.sh
|
||||||
|
@ -3,10 +3,7 @@
|
|||||||
(library
|
(library
|
||||||
((name client_lib)
|
((name client_lib)
|
||||||
(public_name tezos.client)
|
(public_name tezos.client)
|
||||||
(libraries (minutils
|
(libraries (node_shell
|
||||||
utils
|
|
||||||
cohttp
|
|
||||||
node_shell
|
|
||||||
node_db
|
node_db
|
||||||
node_updater
|
node_updater
|
||||||
tezos_protocol_compiler))
|
tezos_protocol_compiler))
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
(library
|
(library
|
||||||
((name node_shell)
|
((name node_shell)
|
||||||
(public_name tezos.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
|
(flags (:standard -w -9+27-30-32-40@8
|
||||||
-safe-string
|
-safe-string
|
||||||
-open Error_monad
|
-open Error_monad
|
||||||
|
Loading…
Reference in New Issue
Block a user