summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/Makefile')
-rw-r--r--vendor/modernc.org/libc/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/vendor/modernc.org/libc/Makefile b/vendor/modernc.org/libc/Makefile
index 0365ae772..507d4ef95 100644
--- a/vendor/modernc.org/libc/Makefile
+++ b/vendor/modernc.org/libc/Makefile
@@ -2,7 +2,7 @@
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
-.PHONY: all build_all_targets check clean download edit editor generate dev membrk-test test work xtest short-test xlibc libc-test surface
+.PHONY: all build_all_targets check clean download edit editor generate dev membrk-test test work xtest short-test xlibc libc-test surface vet
SHELL=/bin/bash -o pipefail
@@ -14,7 +14,7 @@ all: editor
golint 2>&1
staticcheck 2>&1
-build_all_targets:
+build_all_targets: vet
./build_all_targets.sh
echo done
@@ -38,7 +38,6 @@ editor:
# gofmt -l -s -w *.go
go test -c -o /dev/null
go build -o /dev/null -v generator*.go
- go build -o /dev/null -v genasm.go
go vet 2>&1 | grep -n 'asm_' || true
generate: download
@@ -115,3 +114,6 @@ work:
surface:
surface > surface.new
surface surface.old surface.new > log-todo-surface || true
+
+vet:
+ go vet 2>&1 | grep abi0 | grep -v 'misuse' || true