Put the protocol independent stuff into a library
This commit is contained in:
parent
a84bad5d7b
commit
fa6081e5ec
8 changed files with 2 additions and 266 deletions
43
Makefile
43
Makefile
|
@ -1,43 +0,0 @@
|
|||
GOPATH := ${PWD}:${GOPATH}
|
||||
export GOPATH
|
||||
|
||||
default: build
|
||||
|
||||
build: genversion genbuilddate test
|
||||
go build -v flokatirc
|
||||
|
||||
build-win: test genversion
|
||||
GOOS=windows GOARCH=amd64 go build -v -o flokatirc.exe flokatirc
|
||||
|
||||
docker: build
|
||||
./dockerbuild.sh
|
||||
|
||||
genversion:
|
||||
./genversion.sh
|
||||
|
||||
genbuilddate:
|
||||
./genbuilddate.sh
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
fix:
|
||||
go fix ./...
|
||||
|
||||
imports:
|
||||
find . -type f -name "*.go" -exec goimports -w {} \;
|
||||
|
||||
doc:
|
||||
godoc -http=:6060 -index
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
commit:
|
||||
git commit -a -F changes.log
|
||||
rm changes.log
|
||||
touch changes.log
|
||||
./genversion.sh
|
||||
|
||||
push:
|
||||
git push
|
Loading…
Add table
Add a link
Reference in a new issue