From ef399116f931dfc8c7ec837258fd53b76d0e885f Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Thu, 17 Sep 2015 22:25:37 +0200 Subject: [PATCH] Add target for downloading GeoIP database --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index b8db1d5..249b6ee 100644 --- a/Makefile +++ b/Makefile @@ -13,3 +13,6 @@ test: install: go install + +get-geoip-db: + curl -s http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz | gunzip > GeoLite2-Country.mmdb