File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ security:
88 gosec -quiet ./...
99
1010install : security test
11- CGO_ENABLED=0 GOARCH=amd64 go build -ldflags=" -s -w" -o $(GOPATH ) /bin/cgapp main.go
11+ CGO_ENABLED=0 go build -ldflags=" -s -w" -o $(GOPATH ) /bin/cgapp main.go
1212
1313build : security test
1414 goreleaser --snapshot --skip-publish --rm-dist
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ go get github.com/create-go-app/cli
1919Installation is done by using the [ ` go build ` ] ( https://golang.org/cmd/go/#hdr-Compile_packages_and_dependencies ) command with ` $GOPATH/bin ` :
2020
2121``` bash
22- go build -i -o $GOPATH /bin/cgapp github.com/create-go-app/cli
22+ go build -ldflags= " -s -w " -o $GOPATH /bin/cgapp github.com/create-go-app/cli
2323```
2424
2525Let's create a new project via ** interactive console UI** (or ** CUI** for short) into current folder:
You can’t perform that action at this time.
0 commit comments