mirror of
https://github.com/containers/skopeo.git
synced 2025-09-19 00:46:17 +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
|
#!/bin/bash
|
||||||
|
|
||||||
errors=$(go vet -tags="${BUILDTAGS}" $(go list -e ./...))
|
errors=$(go vet -tags="${BUILDTAGS}" ./...)
|
||||||
|
|
||||||
if [ -z "$errors" ]; then
|
if [ -z "$errors" ]; then
|
||||||
echo 'Congratulations! All Go source files have been vetted.'
|
echo 'Congratulations! All Go source files have been vetted.'
|
||||||
|
Reference in New Issue
Block a user