This commit is contained in:
Martin Polden
2015-09-17 20:57:27 +02:00
parent 8ac17bf30f
commit 40df3e5a38
7 changed files with 380 additions and 275 deletions

View File

@ -1,19 +1,15 @@
NAME = ifconfig
NAME=ifconfigd
all: deps test build
fmt:
gofmt -w=true *.go
all: deps test install
deps:
go get -d -v
build:
@mkdir -p bin
go build -o bin/$(NAME)
fmt:
go fmt ./...
test:
go test
go test ./...
docker-image:
docker build -t martinp/ifconfig .
install:
go install