summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/token/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/token/Makefile')
-rw-r--r--vendor/modernc.org/token/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/modernc.org/token/Makefile b/vendor/modernc.org/token/Makefile
index 8af951ab1..be445590e 100644
--- a/vendor/modernc.org/token/Makefile
+++ b/vendor/modernc.org/token/Makefile
@@ -24,8 +24,10 @@ cpu: clean
go test -run @ -bench . -cpuprofile cpu.out
go tool pprof -lines *.test cpu.out
+
edit:
- gvim -p Makefile *.go
+ @touch log
+ @if [ -f "Session.vim" ]; then gvim -S & else gvim -p Makefile *.go & fi
editor:
gofmt -l -s -w *.go