From ef1e262ff6762e96acb4315c6b8f77b9b638f378 Mon Sep 17 00:00:00 2001 From: GURUAKASH-KULU Date: Tue, 25 Mar 2025 20:06:08 +0530 Subject: [PATCH 1/5] Add make run target to Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 686bf37..949468f 100644 --- a/Makefile +++ b/Makefile @@ -25,6 +25,10 @@ clean: ## remove files created during build pipeline rm -f '"$(shell go env GOCACHE)/../golangci-lint"' go clean -i -cache -testcache -modcache -fuzzcache -x +.PHONY: run +run: ## Run the Go application + go run main.go + .PHONY: mod mod: ## go mod tidy go mod tidy From a6cc30c8a3e6b5d3580e4380e4e68812b56ac2eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Tue, 25 Mar 2025 16:53:57 +0100 Subject: [PATCH 2/5] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 949468f..4127574 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ clean: ## remove files created during build pipeline go clean -i -cache -testcache -modcache -fuzzcache -x .PHONY: run -run: ## Run the Go application +run: ## go run go run main.go .PHONY: mod From 86e1d45f04dc81a971a9b9d0af05d6bc3d31c288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Tue, 25 Mar 2025 16:58:34 +0100 Subject: [PATCH 3/5] Update Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4127574..a8292cc 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ clean: ## remove files created during build pipeline .PHONY: run run: ## go run - go run main.go + go run . .PHONY: mod mod: ## go mod tidy From d622df7e61112ea4affe9a84dada719dbeb612a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Wed, 26 Mar 2025 06:34:14 +0100 Subject: [PATCH 4/5] Update Makefile From 3711f3339e867896832b1711aa9db222eaff1846 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Thu, 17 Apr 2025 10:59:19 +0200 Subject: [PATCH 5/5] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a66dc1..fd052e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased](https://github.com/golang-templates/seed/compare/v0.21.0...HEAD) +### Added + +- Add `run` target which runs `go run`. ([#376](https://github.com/golang-templates/seed/pull/376)) + ## [0.21.0](https://github.com/golang-templates/seed/releases/tag/v0.21.0) ### Added