| 1 |
# Copyright 2014 The zappy Authors. All rights reserved. |
| 2 |
# Use of this source code is governed by a BSD-style |
| 3 |
# license that can be found in the LICENSE file. |
| 4 |
|
| 5 |
all: editor |
| 6 |
go tool vet -printfuncs Log:0,Logf:0 . |
| 7 |
golint . |
| 8 |
go install |
| 9 |
make todo |
| 10 |
|
| 11 |
editor: |
| 12 |
go fmt |
| 13 |
go test -i |
| 14 |
@#go test |
| 15 |
./purego.sh |
| 16 |
|
| 17 |
todo: |
| 18 |
@grep -n ^[[:space:]]*_[[:space:]]*=[[:space:]][[:alnum:]] *.go || true |
| 19 |
@grep -n TODO *.go || true |
| 20 |
@grep -n BUG *.go || true |
| 21 |
@grep -n println *.go || true |
| 22 |
|
| 23 |
clean: |
| 24 |
rm -f *~ cov cov.html |
| 25 |
|
| 26 |
gocov: |
| 27 |
gocov test $(COV) | gocov-html > cov.html |
| 28 |
|
| 29 |
bench: |
| 30 |
go test -run NONE -bench B |