From b156182a8012f6199e563a1c9249111000f5fa8d Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Fri, 15 Apr 2016 17:59:56 +0200 Subject: [PATCH] Rename --- Makefile | 13 +++++++------ README.md | 6 +++--- main.go | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 249b6ee..b5907eb 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,4 @@ -NAME=ifconfigd - -all: deps test install - -deps: - go get -d -v +all: deps test vet install fmt: go fmt ./... @@ -11,6 +6,12 @@ fmt: test: go test ./... +vet: + go vet ./... + +deps: + go get -d -v ./... + install: go install diff --git a/README.md b/README.md index f2a1c9b..35dfa8d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # ifconfig.co: Simple IP address lookup service -[![Build Status](https://travis-ci.org/martinp/ifconfigd.svg)](https://travis-ci.org/martinp/ifconfigd) +[![Build Status](https://travis-ci.org/martinp/ipd.svg)](https://travis-ci.org/martinp/ipd) A simple service for looking up your IP address. This is the code that powers http://ifconfig.co @@ -70,12 +70,12 @@ The subdomain http://v4.ifconfig.co can be used to force IPv4 lookup. Compiling requires the [Golang compiler](https://golang.org/) to be installed. This application can be installed by using `go get`: -`go get github.com/martinp/ifconfigd` +`go get github.com/martinp/ipd` ### Usage ``` -ifconfigd -h +ipd -h Usage: ifconfigd [OPTIONS] diff --git a/main.go b/main.go index 0f14d9c..20678c9 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "log" "os" - "github.com/martinp/ifconfigd/api" + "github.com/martinp/ipd/api" ) func main() {