Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 46fa3f85ac
Fetching contributors…

Cannot retrieve contributors at this time

23 lines (16 sloc) 0.41 kb
include $(GOROOT)/src/Make.inc
TARG=launchpad.net/gobson/bson
GOFILES=\
gobson.go\
encode.go\
decode.go\
include $(GOROOT)/src/Make.pkg
GOFMT=gofmt
BADFMT=$(shell $(GOFMT) -l $(GOFILES) $(wildcard *_test.go) 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
Jump to Line
Something went wrong with that request. Please try again.