Skip to content

Commit bce6d91

Browse files
committed
Updated format target
1 parent 3586f2f commit bce6d91

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Makefile

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
include $(GOROOT)/src/Make.$(GOARCH)
66

77
TARG=web
8+
GOFMT=gofmt -spaces=true -tabindent=false -tabwidth=4
9+
810
GOFILES=\
911
fcgi.go\
1012
request.go\
@@ -15,9 +17,9 @@ GOFILES=\
1517
include $(GOROOT)/src/Make.pkg
1618

1719
format:
18-
gofmt -spaces=true -tabindent=false -tabwidth=4 -w fcgi.go
19-
gofmt -spaces=true -tabindent=false -tabwidth=4 -w request.go
20-
gofmt -spaces=true -tabindent=false -tabwidth=4 -w scgi.go
21-
gofmt -spaces=true -tabindent=false -tabwidth=4 -w servefile.go
22-
gofmt -spaces=true -tabindent=false -tabwidth=4 -w web.go
23-
gofmt -spaces=true -tabindent=false -tabwidth=4 -w web_test.go
20+
${GOFMT} -w fcgi.go
21+
${GOFMT} -w request.go
22+
${GOFMT} -w scgi.go
23+
${GOFMT} -w servefile.go
24+
${GOFMT} -w web.go
25+
${GOFMT} -w web_test.go

0 commit comments

Comments
 (0)