File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,7 @@ addons:
1919 apt :
2020 packages :
2121 - expect
22+ - shellcheck
2223before_install :
2324- openssl aes-256-cbc -K $encrypted_d17a6ce39290_key -iv $encrypted_d17a6ce39290_iv
2425 -in gae-firebase-secrets.json.enc -out appengine/firebase-event-proxy/gae-firebase-event-proxy/src/main/webapp/gae-firebase-secrets.json
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616SRC_DIR=$( cd " $( dirname " $0 " ) /.." ; pwd)
17- java -cp ${SRC_DIR} /target/grpc-sample-1.0-jar-with-dependencies.jar \
17+ java -cp " ${SRC_DIR} /target/grpc-sample-1.0-jar-with-dependencies.jar" \
1818 com.examples.cloud.speech.AsyncRecognizeClient " $@ "
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616SRC_DIR=$( cd " $( dirname " $0 " ) /.." ; pwd)
17- java -cp ${SRC_DIR} /target/grpc-sample-1.0-jar-with-dependencies.jar \
17+ java -cp " ${SRC_DIR} /target/grpc-sample-1.0-jar-with-dependencies.jar" \
1818 com.examples.cloud.speech.StreamingRecognizeClient " $@ "
Original file line number Diff line number Diff line change 1414# limitations under the License.
1515
1616SRC_DIR=$( cd " $( dirname " $0 " ) /.." ; pwd)
17- java -cp ${SRC_DIR} /target/grpc-sample-1.0-jar-with-dependencies.jar \
17+ java -cp " ${SRC_DIR} /target/grpc-sample-1.0-jar-with-dependencies.jar" \
1818 com.examples.cloud.speech.SyncRecognizeClient " $@ "
Original file line number Diff line number Diff line change 1919set -o pipefail
2020
2121SKIP_TESTS=false
22- if [ -z " $GOOGLE_APPLICATION_CREDENTIALS " ] ; then
22+ if [ -z " $GOOGLE_APPLICATION_CREDENTIALS " ] ; then
2323 SKIP_TESTS=true
2424fi
2525mvn --batch-mode clean verify -DskipTests=$SKIP_TESTS | egrep -v " (^\[INFO\] Download|^\[INFO\].*skipping)"
@@ -32,7 +32,10 @@ devserver_tests=(
3232 appengine/datastore/indexes-exploding
3333 appengine/datastore/indexes-perfect
3434)
35- for testdir in ${devserver_tests[@]} ; do
35+ for testdir in " ${devserver_tests[@]} " ; do
3636 ./java-repo-tools/scripts/test-localhost.sh appengine " ${testdir} "
3737done
3838
39+ # Check that all shell scripts in this repo (including this one) pass the
40+ # Shell Check linter.
41+ shellcheck ./** /* .sh
You can’t perform that action at this time.
0 commit comments