get ready to take options
This commit is contained in:
8
Makefile
8
Makefile
@ -2,12 +2,16 @@
|
||||
GO111MODULE=on
|
||||
|
||||
build:
|
||||
cd reposam && go build -tags netgo \
|
||||
-ldflags '-w -extldflags "-static"'
|
||||
go build -tags netgo \
|
||||
-ldflags '-w -extldflags "-static"' \
|
||||
-o reposam/reposam
|
||||
|
||||
install:
|
||||
install -m755 reposam/reposam /usr/local/bin
|
||||
|
||||
fmt:
|
||||
gofmt -w *.go */*.go
|
||||
|
||||
fixup:
|
||||
sed -i 's|CowYoSam|RepoSam|g' *.go
|
||||
sed -i 's|cowyosam|reposam|g' *.go
|
||||
|
Reference in New Issue
Block a user