Set up dependencies between tasks im Makefile
@@ -21,10 +21,10 @@ include .env
.PHONY: release
-run_dev_no_genesis:
+run_dev_no_genesis: build_docker
docker-compose -f docker-compose/dev.yml -f docker-compose/run.yml up
-run_dev:
+run_dev: build_docker
docker-compose -f docker-compose/dev.yml -f docker-compose/genesis.yml -f docker-compose/run.yml up
poet_enroll_validators_list:
@@ -37,13 +37,13 @@ test:
build_protobuf:
protoc -I=$(PROTO_SRC_DIR) --python_out=$(PROTO_DST_DIR) $(PROTO_SRC_DIR)/*.proto
-build_docker:
+build_docker: build_protobuf
docker-compose -f docker-compose/dev.yml build
-rebuild_docker:
+rebuild_docker: build_protobuf
docker-compose -f docker-compose/dev.yml build --no-cache
-release:
+release: build_docker
mkdir $(RELEASE_NUMBER)-release
mkdir $(RELEASE_NUMBER)-release/docker-compose
cp {run,genesis}.sh ./$(RELEASE_NUMBER)-release
