From 6f32aa794842ddf534946ce48c486c5b85a2d5a1 Mon Sep 17 00:00:00 2001 From: GURUAKASH-KULU Date: Tue, 25 Mar 2025 20:06:08 +0530 Subject: [PATCH 1/3] 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 b5a6ad64c3cea126718ebd3b677b9fd1c71c7245 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Paj=C4=85k?= Date: Mon, 12 May 2025 09:17:53 +0200 Subject: [PATCH 2/3] Update Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 949468f..a8292cc 100644 --- a/Makefile +++ b/Makefile @@ -26,8 +26,8 @@ clean: ## remove files created during build pipeline go clean -i -cache -testcache -modcache -fuzzcache -x .PHONY: run -run: ## Run the Go application - go run main.go +run: ## go run + go run . .PHONY: mod mod: ## go mod tidy From 94b9c201c900f1444d69cd512dcb75d699ee6309 Mon Sep 17 00:00:00 2001 From: Robert Pajak Date: Mon, 12 May 2025 09:18:59 +0200 Subject: [PATCH 3/3] Add changelog entry --- 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