1
0
Fork 0
mirror of https://github.com/prometheus-operator/prometheus-operator.git synced 2025-04-15 16:56:24 +00:00
prometheus-operator/scripts/check-make-generate.sh
Frederic Branczyk 48f3614fce
Remove Jenkins
2017-11-06 18:12:55 +01:00

15 lines
305 B
Bash
Executable file

#!/usr/bin/env bash
# exit immediately when a command fails
set -e
# only exit with zero if all commands of the pipeline exit successfully
set -o pipefail
# error on unset variables
set -u
# print each command before executing it
set -x
make check-license
make format
make generate
git diff --exit-code