Skip to content

Commit

Permalink
first pass refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
thisisaaroland committed Sep 16, 2017
1 parent cf18264 commit a947f04
Show file tree
Hide file tree
Showing 8 changed files with 305 additions and 551 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,14 @@ prep:
self: prep rmdeps
if test -d src; then rm -rf src; fi
cp -r vendor src
mkdir -p src/github.com/whosonfirst/go-whosonfirst-libpostal/http

rmdeps:
if test -d src; then rm -rf src; fi

build: fmt bin

deps: rmdeps
@GOPATH=$(GOPATH) go get -u "github.com/whosonfirst/go-whosonfirst-geojson"
@GOPATH=$(GOPATH) go get -u "github.com/whosonfirst/go-whosonfirst-csv"
@GOPATH=$(GOPATH) go get -u "github.com/whosonfirst/go-whosonfirst-crawl"
@GOPATH=$(GOPATH) go get -u "github.com/facebookgo/grace/gracehttp"
@GOPATH=$(GOPATH) go get -u "github.com/openvenues/gopostal/expand"
@GOPATH=$(GOPATH) go get -u "github.com/openvenues/gopostal/parser"
Expand All @@ -30,7 +28,7 @@ vendor-deps: deps

fmt:
go fmt cmd/*.go
go fmt http/*.go

bin: self
@GOPATH=$(GOPATH) go build -o bin/wof-libpostal-server cmd/wof-libpostal-server.go
@GOPATH=$(GOPATH) go build -o bin/wof-libpostal-crawl cmd/wof-libpostal-crawl.go
182 changes: 0 additions & 182 deletions cmd/wof-libpostal-crawl.go

This file was deleted.

Loading

0 comments on commit a947f04

Please sign in to comment.