mirror of
https://github.com/rancher/types.git
synced 2025-09-02 13:45:51 +00:00
Update build scripts
This commit is contained in:
@@ -9,3 +9,10 @@ PACKAGES=". $(find -name '*.go' | xargs -I{} dirname {} | cut -f2 -d/ | sort -u
|
||||
|
||||
[ "${ARCH}" == "amd64" ] && RACE=-race
|
||||
go test ${RACE} -cover -tags=test ${PACKAGES}
|
||||
|
||||
go generate
|
||||
if [ -n "$(git status --porcelain --untracked-files=no)" ]; then
|
||||
git status
|
||||
echo git out of sync with generated code
|
||||
exit 1
|
||||
fi
|
||||
|
Reference in New Issue
Block a user