Skip to content

Commit

Permalink
Merge pull request #60 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 3.0.4
  • Loading branch information
andyone authored Jun 23, 2024
2 parents 2224ded + ec1fa19 commit a224a74
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
################################################################################

# This Makefile generated by GoMakeGen 3.0.3 using next command:
# This Makefile generated by GoMakeGen 3.0.4 using next command:
# gomakegen --mod --strip .
#
# More info: https://kaos.sh/gomakegen
Expand Down Expand Up @@ -109,6 +109,6 @@ help: ## Show this info
| sed 's/ifdef //' \
| awk 'BEGIN {FS = " .*?## "}; {printf " \033[32m%-11s\033[0m %s\n", $$1, $$2}'
@echo -e ''
@echo -e '\033[90mGenerated by GoMakeGen 3.0.3\033[0m\n'
@echo -e '\033[90mGenerated by GoMakeGen 3.0.4\033[0m\n'

################################################################################
4 changes: 2 additions & 2 deletions cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ import (
// App info
const (
APP = "GoMakeGen"
VER = "3.0.3"
VER = "3.0.4"
DESC = "Utility for generating makefiles for Go applications"
)

Expand Down Expand Up @@ -948,7 +948,7 @@ func (m *Makefile) getTestTarget() string {
result := "test: ## Run tests\n"
result += getActionText(1, 1, "Starting tests…")
result += "ifdef COVERAGE_FILE ## Save coverage data into file (String)\n"
result += "\t" + testTarget + " -coverprofile=$(COVERAGE_FILE) " + targets + "\n"
result += "\t" + testTarget + " -coverprofile=$(COVERAGE_FILE) " + strings.Join(m.TestPaths, " ") + "\n"
result += "else\n"
result += "\t" + testTarget + " " + targets + "\n"
result += "endif\n\n"
Expand Down

0 comments on commit a224a74

Please sign in to comment.