Skip to content

Commit

Permalink
Merge pull request openservicebrokerapi#56 from duglin/fixValidate
Browse files Browse the repository at this point in the history
fixMakefile
  • Loading branch information
duglin authored Aug 17, 2016
2 parents 64ea632 + dc15f80 commit 1d60d96
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ cli-docker:
sh -c "go get -d ./... && make cli-local"

cli-local:
go get -d ./...
go build -o $(EXE) .

#####################
Expand Down
4 changes: 3 additions & 1 deletion k8s/service_controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ binary-docker:
sh -c "go get -d ./... && make binary-local"

binary-local:
go get -d ./...
go build -o $(EXE) .

#####################
Expand Down Expand Up @@ -111,6 +112,7 @@ validate-docker:

validate-local:
@if ! [ "`find . -name \*.go -exec gofmt -s -l {} \;`" = "" ]; then \
echo Please gofmt the following files: \\n$(shell find . -name \*.go -exec gofmt -s -l {} \;) \\n ; \
echo Please fix the following gofmt issues: ; \
find . -name \*.go -exec gofmt -d {} \; ; \
exit 1 ; \
fi

0 comments on commit 1d60d96

Please sign in to comment.