diff options
Diffstat (limited to 'vendor/github.com/goamz/goamz/exp/sns/Makefile')
-rw-r--r-- | vendor/github.com/goamz/goamz/exp/sns/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/github.com/goamz/goamz/exp/sns/Makefile b/vendor/github.com/goamz/goamz/exp/sns/Makefile new file mode 100644 index 000000000..1e5b9da3b --- /dev/null +++ b/vendor/github.com/goamz/goamz/exp/sns/Makefile @@ -0,0 +1,21 @@ +include $(GOROOT)/src/Make.inc + +TARG=launchpad.net/goamz/sns + +GOFILES=\ + sns.go\ + sign.go\ + +include $(GOROOT)/src/Make.pkg + +GOFMT=gofmt +BADFMT=$(shell $(GOFMT) -l $(GOFILES) 2> /dev/null) + +gofmt: $(BADFMT) + @for F in $(BADFMT); do $(GOFMT) -w $$F && echo $$F; done + +ifneq ($(BADFMT),) +ifneq ($(MAKECMDGOALS), gofmt) +#$(warning WARNING: make gofmt: $(BADFMT)) +endif +endif |