Add dependencies to Makefile

This commit is contained in:
Dankrad Feist 2019-04-10 13:38:48 +01:00
parent 5bf466010d
commit aa7ca8d017
1 changed files with 2 additions and 2 deletions

View File

@ -16,11 +16,11 @@ clean:
# runs a limited set of tests against a minimal config # runs a limited set of tests against a minimal config
# run pytest with `-m` option to full suite # run pytest with `-m` option to full suite
test: test: all
pytest -m minimal_config tests/ pytest -m minimal_config tests/
$(BUILD_DIR)/phase0: $(BUILD_DIR)/phase0: $(SPEC_DIR)/core/0_beacon-chain.md $(SCRIPT_DIR)/phase0/*.py $(UTILS_DIR)/phase0/*.py
mkdir -p $@ mkdir -p $@
python3 $(SCRIPT_DIR)/phase0/build_spec.py $(SPEC_DIR)/core/0_beacon-chain.md $@/spec.py python3 $(SCRIPT_DIR)/phase0/build_spec.py $(SPEC_DIR)/core/0_beacon-chain.md $@/spec.py
mkdir -p $@/utils mkdir -p $@/utils