From 70f96b47356aa9f4958d2b6b2252729c963d964a Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Wed, 4 Jan 2023 22:02:05 +1000 Subject: [PATCH 1/5] fix worker target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3c79440..a79e70b 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ test: .PHONY: worker worker: clear - go run cmd/worker/worker.go + go run cmd/worker/main.go # Check for direct dependency updates .PHONY: check-updates From fd0487abacf42bc214959eaedfef8fa03c2933ad Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Wed, 4 Jan 2023 22:02:53 +1000 Subject: [PATCH 2/5] add make down --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index a79e70b..c5be4ef 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,11 @@ up: $(DCO_BIN) up -d sleep 3 +# Stop the Docker containers +.PHONY: down +down: + $(DCO_BIN) down + # Rebuild Docker containers to wipe all data .PHONY: reset reset: From 1f947eae7a4bd6c256c6b6f7f35049b648c3b1d9 Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Wed, 4 Jan 2023 22:03:15 +1000 Subject: [PATCH 3/5] regen entities on reset --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index c5be4ef..48826ae 100644 --- a/Makefile +++ b/Makefile @@ -52,6 +52,7 @@ down: .PHONY: reset reset: $(DCO_BIN) down + make ent-gen make up # Run the application From 7e4d92fc92c849fcc7e550f642cb09962008d6cf Mon Sep 17 00:00:00 2001 From: Nicholas Smith Date: Thu, 5 Jan 2023 08:01:50 +1000 Subject: [PATCH 4/5] feedback --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 48826ae..74d8d97 100644 --- a/Makefile +++ b/Makefile @@ -43,7 +43,7 @@ up: $(DCO_BIN) up -d sleep 3 -# Stop the Docker containers +# Delete the Docker containers .PHONY: down down: $(DCO_BIN) down @@ -52,7 +52,6 @@ down: .PHONY: reset reset: $(DCO_BIN) down - make ent-gen make up # Run the application From b03beccfb268d407226aeb0838629d1d88242740 Mon Sep 17 00:00:00 2001 From: mips171 Date: Fri, 6 Jan 2023 10:53:34 +1000 Subject: [PATCH 5/5] Update Makefile --- Makefile | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Makefile b/Makefile index 74d8d97..a79e70b 100644 --- a/Makefile +++ b/Makefile @@ -43,11 +43,6 @@ up: $(DCO_BIN) up -d sleep 3 -# Delete the Docker containers -.PHONY: down -down: - $(DCO_BIN) down - # Rebuild Docker containers to wipe all data .PHONY: reset reset: