echoip/Makefile

20 lines
200 B
Makefile
Raw Normal View History

2014-12-22 00:19:29 +01:00
NAME = ifconfig
2012-11-25 14:49:16 +01:00
2014-12-22 16:01:23 +01:00
all: deps test build
2012-11-25 14:49:16 +01:00
fmt:
2014-11-01 14:36:57 +01:00
gofmt -w=true *.go
2012-11-25 14:49:16 +01:00
2014-12-22 16:01:23 +01:00
deps:
go get -d -v
2014-12-22 00:19:29 +01:00
build:
2014-12-22 16:53:41 +01:00
@mkdir -p bin
2014-12-22 00:19:29 +01:00
go build -o bin/$(NAME)
2013-09-08 19:37:41 +02:00
test:
go test
2014-12-22 16:53:41 +01:00
docker-image:
docker build -t martinp/ifconfig .