1
0
mirror of https://github.com/golang/go synced 2024-11-19 12:14:42 -07:00
go/cmd/vet/Makefile

15 lines
431 B
Makefile
Raw Normal View History

# Copyright 2010 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# Assumes go/types is installed
test testshort:
go build
$(GOROOT)/test/errchk ./vet -printfuncs='Warn:1,Warnf:1' test_*.go test_*.s
# Install command where the go tool can find it.
install:
go build -o _vet
cp _vet $(GOROOT)/pkg/tool/$(GOOS)_$(GOARCH)/vet
rm -f _vet