Permalink
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (23 sloc) 799 Bytes
all: templates.go
go build
templates.go: templates/*.html monitor.go
go generate
test:
go test $(shell go list ./... | grep -v /vendor/)
testrace:
go test -race $(shell go list ./... | grep -v /vendor/)
devel:
go build -tags devel
bench:
go test -check.b -check.bmem
TARS=$(wildcard geodns-*-*.tar)
push: $(TARS) tmp-install.sh
rsync -avz tmp-install.sh $(TARS) x3.dev:webtmp/2016/07/
builds: linux-build linux-build-i386 freebsd-build push
linux-build:
docker run --rm -v `pwd`:/go/src/github.com/abh/geodns geodns-build ./build
linux-build-i386:
docker run --rm -v `pwd`:/go/src/github.com/abh/geodns geodns-build-i386 ./build
freebsd-build:
ssh 192.168.64.5 'cd go/src/github.com/abh/geodns; GOPATH=~/go ./build'
ssh root@192.168.64.5 'jexec -U ask fbsd32 /home/ask/build'