-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs:nunu run add
excludeDir
AND includeExt
support
- Loading branch information
Showing
12 changed files
with
175 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
# Go workspace file | ||
go.work | ||
.idea | ||
bin | ||
*.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
.PHONY: build-linux | ||
build-linux: | ||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/nunu . | ||
|
||
.PHONY: build-darwin | ||
build-darwin: | ||
CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/nunu . | ||
|
||
.PHONY: build-windows | ||
build-windows: | ||
CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o ./bin/nunu.exe . | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
package config | ||
|
||
const ( | ||
Version = "1.0.7" | ||
WireCmd = "github.com/google/wire/cmd/wire@latest" | ||
NunuCmd = "github.com/go-nunu/nunu@latest" | ||
RepoBase = "https://github.com/go-nunu/nunu-layout-base.git" | ||
RepoAdvanced = "https://github.com/go-nunu/nunu-layout-advanced.git" | ||
var ( | ||
Version = "1.0.8" | ||
WireCmd = "github.com/google/wire/cmd/wire@latest" | ||
NunuCmd = "github.com/go-nunu/nunu@latest" | ||
RepoBase = "https://github.com/go-nunu/nunu-layout-base.git" | ||
RepoAdvanced = "https://github.com/go-nunu/nunu-layout-advanced.git" | ||
RunExcludeDir = ".git,.idea,tmp,vendor" | ||
RunIncludeExt = "go,tpl,tmpl,html,yaml,yml,toml,ini,json" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.