Add deps target

This commit is contained in:
Martin Polden 2014-12-22 16:01:23 +01:00
parent 78f4ed34f8
commit f54275a0c0

View File

@ -1,10 +1,13 @@
NAME = ifconfig NAME = ifconfig
all: test build all: deps test build
fmt: fmt:
gofmt -w=true *.go gofmt -w=true *.go
deps:
go get -d -v
build: build:
@mkdir bin @mkdir bin
go build -o bin/$(NAME) go build -o bin/$(NAME)