get ready to take options

This commit is contained in:
idk
2019-11-14 18:12:27 -05:00
parent 72eb5c70de
commit f0ed37f391
5 changed files with 58 additions and 4 deletions

View File

@ -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