Skip to content

Commit 077b39d

Browse files
mmaturtraefiker
authored andcommitted
Add option -s to gofmt for autogen
1 parent 7081f3d commit 077b39d

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

autogen/gentemplates/gen.go

+11-11
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generate.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//go:generate rm -vf autogen/genstatic/gen.go
33
//go:generate mkdir -p static
44
//go:generate go-bindata -pkg gentemplates -nometadata -nocompress -o autogen/gentemplates/gen.go ./templates/...
5-
//go:generate gofmt -w autogen/gentemplates/gen.go
5+
//go:generate gofmt -s -w autogen/gentemplates/gen.go
66
//go:generate go-bindata -pkg genstatic -nocompress -o autogen/genstatic/gen.go ./static/...
77

88
package main

0 commit comments

Comments
 (0)