ARO-RP/hack/ci-utils/build.sh

21 строка
247 B
Bash
Executable File

#!/bin/bash
isClean() {
if [[ ! -z "$(git status -s)" ]]
then
echo "there are some modified files"
git status
exit 1
fi
}
set -xe
make generate
isClean
make build-all
isClean
make unit-test-go
isClean