mirror of
https://github.com/containers/skopeo.git
synced 2025-09-18 16:08:59 +00:00
Simplify the package list of (go vet)
That extra process is an extra 0.5s on macOS at least. Signed-off-by: Miloslav Trmač <mitr@redhat.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
errors=$(go vet -tags="${BUILDTAGS}" $(go list -e ./...))
|
||||
errors=$(go vet -tags="${BUILDTAGS}" ./...)
|
||||
|
||||
if [ -z "$errors" ]; then
|
||||
echo 'Congratulations! All Go source files have been vetted.'
|
||||
|
Reference in New Issue
Block a user