added go dev command

This commit is contained in:
Niklas Kapelle 2023-11-07 17:58:02 +01:00
parent f928efad52
commit 8eafb2aeef
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -19,6 +19,10 @@ $(BUILD_DIR)/$(BINARY):
clean: clean:
rm -rf $(BUILD_DIR) rm -rf $(BUILD_DIR)
.PHONY: dev
dev:
go run cmd/{{cookiecutter.project_slug}}.go
.PHONY: docker-push .PHONY: docker-push
docker-push: docker-push:
docker buildx build $(DOCKER_BUILD_FLAGS) --platform $(DOCKER_BUILD_PLATFORM) -t $(DOCKER_BUILD_TAG) . --push docker buildx build $(DOCKER_BUILD_FLAGS) --platform $(DOCKER_BUILD_PLATFORM) -t $(DOCKER_BUILD_TAG) . --push