From 8eafb2aeef941be67edac0ded499687f17f7ad2b Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Tue, 7 Nov 2023 17:58:02 +0100 Subject: [PATCH] added go dev command --- {{cookiecutter.project_slug}}/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/{{cookiecutter.project_slug}}/Makefile b/{{cookiecutter.project_slug}}/Makefile index 268c6fb..8ef88bb 100644 --- a/{{cookiecutter.project_slug}}/Makefile +++ b/{{cookiecutter.project_slug}}/Makefile @@ -19,6 +19,10 @@ $(BUILD_DIR)/$(BINARY): clean: rm -rf $(BUILD_DIR) +.PHONY: dev +dev: + go run cmd/{{cookiecutter.project_slug}}.go + .PHONY: docker-push docker-push: docker buildx build $(DOCKER_BUILD_FLAGS) --platform $(DOCKER_BUILD_PLATFORM) -t $(DOCKER_BUILD_TAG) . --push