Skip to content

Commit

Permalink
Merge pull request openservicebrokerapi#57 from duglin/fixMakefile2
Browse files Browse the repository at this point in the history
fix some makefile stuff
  • Loading branch information
Ville Aikas authored Aug 17, 2016
2 parents 1d60d96 + e21f6eb commit 267fc5e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions cli/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sc
3 changes: 2 additions & 1 deletion cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,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 -s -d {} \; ; \
exit 1 ; \
fi
2 changes: 1 addition & 1 deletion k8s/service_controller/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ validate-docker:
validate-local:
@if ! [ "`find . -name \*.go -exec gofmt -s -l {} \;`" = "" ]; then \
echo Please fix the following gofmt issues: ; \
find . -name \*.go -exec gofmt -d {} \; ; \
find . -name \*.go -exec gofmt -s -d {} \; ; \
exit 1 ; \
fi

0 comments on commit 267fc5e

Please sign in to comment.