Skip to content

Commit

Permalink
Make build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Krawczyk committed Jan 20, 2016
1 parent cc6dd0b commit c0ca22e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
TEST?=./...
TESTARGS?=
NAME = $(shell awk -F\" '/^const Name/ { print $$2 }' main.go)
VERSION = $(shell awk -F\" '/^const Version/ { print $$2 }' main.go)
DEPS = $(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...)
CURRENT_DIR = $(shell pwd)
SOURCEDIR = $(CURRENT_DIR)
Expand All @@ -20,7 +18,7 @@ updatedeps:

build: deps test
@mkdir -p bin/
go build -o bin/$(NAME)
go build -o bin/marathon-consul

test: deps $(SOURCES)
PATH=$(CURRENT_DIR)/bin:$(PATH) go test $(TEST) $(TESTARGS)
Expand Down

0 comments on commit c0ca22e

Please sign in to comment.