Put the protocol independent stuff into a library

This commit is contained in:
an 2017-06-15 09:01:25 +02:00
parent a84bad5d7b
commit fa6081e5ec
8 changed files with 2 additions and 266 deletions

View file

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