Skip to content

Commit afa4fc5

Browse files
authored
Add run Make target (#376)
1 parent 4daeb64 commit afa4fc5

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased](https://github.com/golang-templates/seed/compare/v0.21.0...HEAD)
99

10+
### Added
11+
12+
- Add `run` target which runs `go run`. ([#376](https://github.com/golang-templates/seed/pull/376))
13+
1014
## [0.21.0](https://github.com/golang-templates/seed/releases/tag/v0.21.0)
1115

1216
### Added

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ clean: ## remove files created during build pipeline
2525
rm -f '"$(shell go env GOCACHE)/../golangci-lint"'
2626
go clean -i -cache -testcache -modcache -fuzzcache -x
2727

28+
.PHONY: run
29+
run: ## go run
30+
go run .
31+
2832
.PHONY: mod
2933
mod: ## go mod tidy
3034
go mod tidy

0 commit comments

Comments
 (0)