echoip/Makefile
2016-04-17 11:28:47 +02:00

21 lines
384 B
Makefile

all: deps test vet install
fmt:
go fmt ./...
test:
go test ./...
vet:
go vet ./...
deps:
go get -d -v ./...
install:
go install
get-geoip-dbs:
curl -s http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz | gunzip > GeoLite2-Country.mmdb
curl -s http://geolite.maxmind.com/download/geoip/database/GeoLite2-City.mmdb.gz | gunzip > GeoLite2-City.mmdb