Skip to content

Commit

Permalink
Run go build in unit to make sure everything compiles
Browse files Browse the repository at this point in the history
  • Loading branch information
lsegal committed Jun 2, 2015
1 parent 4276089 commit f07f9ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,18 @@ integration: deps
gucumber

lint: deps
lint=`golint ./...`; \
@echo "golint ./..."
@lint=`golint ./...`; \
lint=`echo "$$lint" | grep -E -v -e ${LINTIGNOREDOT} -e ${LINTIGNOREDOC}`; \
echo "$$lint"; \
if [ "$$lint" != "" ]; then exit 1; fi

unit: deps lint
unit: deps build lint
go test ./...

build:
go build ./...

deps:
go get ./...

Expand Down

0 comments on commit f07f9ec

Please sign in to comment.