Skip to content

Commit

Permalink
Merge branch 'release/0.0.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
axllent committed Mar 2, 2019
2 parents abce859 + 9038595 commit 8994f61
Show file tree
Hide file tree
Showing 5 changed files with 285 additions and 139 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ root = true

[*]
indent_style = space
indent_size = 4
indent_size = 8
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
Expand Down
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
geoiplookup
/src/
/pkg/
/src/
geoiplookup
goiplookup
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@

GOPATH := ${PWD}
export GOPATH
VERSION=`git describe --tags`
LDFLAGS=-ldflags "-X main.version=${VERSION}"

geoiplookup: geoiplookup.go
geoiplookup: goiplookup.go
go get github.com/oschwald/geoip2-golang
go build geoiplookup.go
strip geoiplookup
go build ${LDFLAGS} goiplookup.go
strip goiplookup

clean:
rm -rf pkg src geoiplookup
rm -rf pkg src goiplookup
132 changes: 0 additions & 132 deletions geoiplookup.go

This file was deleted.

Loading

0 comments on commit 8994f61

Please sign in to comment.