aboutsummaryrefslogtreecommitdiff
path: root/nexgb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/Makefile')
-rw-r--r--nexgb/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/nexgb/Makefile b/nexgb/Makefile
index c70b01c..7ba1cb4 100644
--- a/nexgb/Makefile
+++ b/nexgb/Makefile
@@ -1,5 +1,6 @@
# This Makefile is used by the developer. It is not needed in any way to build
# a checkout of the XGB repository.
+# It will be useful, however, if you are hacking at the code generator.
XPROTO=/usr/share/xcb
@@ -20,3 +21,8 @@ test:
bench:
go test -run 'nomatch' -bench '.*' -cpu 1,2,6
+gofmt:
+ gofmt -w *.go xgbgen/*.go examples/*.go examples/*/*.go
+ colcheck xgbgen/*.go examples/*.go examples/*/*.go \
+ auth.go conn.go cookie.go doc.go xgb.go xgb_help.go xgb_test.go
+