From 69d1f9e3e77095ee5c4f46a595b8e7f21547f295 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 5 Nov 2018 15:34:17 +0300 Subject: [PATCH 1/2] Fixed minor bug with generating targets for making binaries --- .travis.yml | 2 ++ gomakegen.go | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index ea72952..fcbf0ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,8 @@ go: - 1.7.x - 1.8.x - 1.9.x + - 1.10.x + - 1.11.x - tip os: diff --git a/gomakegen.go b/gomakegen.go index b67b6ee..2c6c126 100644 --- a/gomakegen.go +++ b/gomakegen.go @@ -35,7 +35,7 @@ import ( // App info const ( APP = "gomakegen" - VER = "0.8.0" + VER = "0.8.1" DESC = "Utility for generating makefiles for Go applications" ) @@ -663,9 +663,11 @@ func (m *Makefile) getBinTarget() string { } else { result += "\tgo build " + bin + ".go\n" } + + result += "\n" } - return result + "\n" + return result } // getInstallTarget generate target for "install" command From 979eb3dbcc921dc9f9c44f3df59196bad332164f Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 5 Nov 2018 15:40:52 +0300 Subject: [PATCH 2/2] Makefile regenerated --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7d7097c..fdad9e6 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ################################################################################ -# This Makefile generated by GoMakeGen 0.8.0 using next command: +# This Makefile generated by GoMakeGen 0.8.1 using next command: # gomakegen --metalinter --strip . ################################################################################