echoip/Makefile

19 lines
257 B
Makefile
Raw Normal View History

2015-09-17 20:57:27 +02:00
NAME=ifconfigd
2012-11-25 14:49:16 +01:00
2015-09-17 20:57:27 +02:00
all: deps test install
2012-11-25 14:49:16 +01:00
2014-12-22 16:01:23 +01:00
deps:
go get -d -v
2015-09-17 20:57:27 +02:00
fmt:
go fmt ./...
2013-09-08 19:37:41 +02:00
test:
2015-09-17 20:57:27 +02:00
go test ./...
2014-12-22 16:53:41 +01:00
2015-09-17 20:57:27 +02:00
install:
go install
get-geoip-db:
curl -s http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz | gunzip > GeoLite2-Country.mmdb