mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-16 17:45:00 +00:00
Makefile: low verbosity by default
This commit is contained in:
parent
e16d8faee2
commit
d0f8171fb4
10
Makefile
10
Makefile
@ -17,12 +17,14 @@ TOOLS_DIRS := beacon_chain benchmarks research
|
||||
|
||||
all: | $(TOOLS)
|
||||
|
||||
$(SILENT_TARGET_PREFIX).SILENT:
|
||||
|
||||
sanity-checks:
|
||||
@ [[ "$$PWD" =~ /vendor/nim-beacon-chain$ && -e ../../Makefile && -e ../../common.mk ]] || \
|
||||
{ echo "This Makefile can only be used from the corresponding Git submodule in the Nimbus repository."; exit 1; }
|
||||
{ echo -e "This Makefile can only be used from the corresponding Git submodule in the Nimbus repository.\nDetailed instructions available in README.md or online at https://github.com/status-im/nim-beacon-chain/#building-and-testing"; exit 1; }
|
||||
|
||||
deps: | sanity-checks
|
||||
@+ $(MAKE) --silent -C ../../ V=0 deps
|
||||
@+ $(MAKE) --silent -C ../../ deps
|
||||
|
||||
build:
|
||||
mkdir $@
|
||||
@ -32,8 +34,8 @@ test: | build deps
|
||||
|
||||
$(TOOLS): | build deps
|
||||
for D in $(TOOLS_DIRS); do [ -e "$${D}/$@.nim" ] && TOOL_DIR="$${D}" && break; done && \
|
||||
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -o:build/$@ "$${TOOL_DIR}/$@.nim" && \
|
||||
echo -e "\nThe binary is in './build/$@'.\n"
|
||||
echo -e $(BUILD_MSG) "build/$@" && \
|
||||
$(ENV_SCRIPT) nim c $(NIM_PARAMS) -o:build/$@ "$${TOOL_DIR}/$@.nim"
|
||||
|
||||
clean_eth2_network_simulation_files:
|
||||
rm -rf tests/simulation/data
|
||||
|
Loading…
x
Reference in New Issue
Block a user