2017-10-27 22:45:31 +04:00
|
|
|
|
2017-11-14 02:47:13 +04:00
|
|
|
DEV ?= --dev
|
|
|
|
|
2017-10-27 22:45:31 +04:00
|
|
|
all:
|
2017-11-27 09:13:12 +04:00
|
|
|
@jbuilder build ${DEV} \
|
|
|
|
src/node_main.exe \
|
|
|
|
src/client_main.exe \
|
2017-11-27 09:13:12 +04:00
|
|
|
lib_protocol_compiler/main.exe
|
2017-10-27 22:45:31 +04:00
|
|
|
@cp _build/default/src/node_main.exe tezos-node
|
|
|
|
@cp _build/default/src/client_main.exe tezos-client
|
2017-11-27 09:13:12 +04:00
|
|
|
@cp _build/default/lib_protocol_compiler/main.exe tezos-protocol-compiler
|
2017-10-27 22:45:31 +04:00
|
|
|
|
2017-11-03 19:02:38 +04:00
|
|
|
doc-html:
|
2017-11-14 02:47:13 +04:00
|
|
|
@jbuilder build @doc ${DEV}
|
2017-11-03 19:02:38 +04:00
|
|
|
|
2017-10-27 22:45:31 +04:00
|
|
|
build-test:
|
2017-11-14 02:47:13 +04:00
|
|
|
@jbuilder build @buildtest ${DEV}
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
test:
|
2017-11-14 02:47:13 +04:00
|
|
|
@jbuilder runtest ${DEV}
|
2017-10-27 22:45:31 +04:00
|
|
|
|
|
|
|
build-deps:
|
|
|
|
@./scripts/install_build_deps.sh
|
|
|
|
|
|
|
|
docker-image:
|
|
|
|
@./scripts/create_docker_image.sh
|
|
|
|
|
|
|
|
clean:
|
|
|
|
@-jbuilder clean
|
|
|
|
@-rm -f tezos-node tezos-client tezos-protocol-compiler
|
|
|
|
|
|
|
|
.PHONY: all test build-deps docker-image clean
|