Browse Source

Script for validating examples on CI

pull/1567/head
Igor Demin 3 years ago
parent
commit
9ae5da0dcd
  1. 8
      examples/validateExamples.sh

8
examples/validateExamples.sh

@ -4,9 +4,15 @@
set -euo pipefail
if [ -z "$@" ]; then
echo "Specify Compose version. For example: ./validateExamples.sh 1.0.0"
exit 1
fi
COMPOSE_VERSION=$@
runGradle() {
pushd $1
./gradlew $2
./gradlew $2 -Pcompose.version=$COMPOSE_VERSION
popd
}

Loading…
Cancel
Save