Skip to content

Commit

Permalink
Merge pull request #10 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 0.4.2
  • Loading branch information
andyone authored Apr 11, 2017
2 parents ed7cb10 + d62fe0f commit 19f7dc5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ before_install:

script:
- make all
- ./gomakegen . -o gomakegen.make
- ./gomakegen . -m -s -o gomakegen.make
- cat gomakegen.make
6 changes: 5 additions & 1 deletion gomakegen.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (

const (
APP = "gomakegen"
VER = "0.4.1"
VER = "0.4.2"
DESC = "Utility for generating makefiles for Golang applications"
)

Expand Down Expand Up @@ -489,6 +489,10 @@ func (m *Makefile) getPhony() string {
phony = append(phony, "benchmark")
}

if m.Metalinter {
phony = append(phony, "metalinter")
}

return ".PHONY = " + strings.Join(phony, " ") + "\n"
}

Expand Down

0 comments on commit 19f7dc5

Please sign in to comment.