Skip to content

Commit 95482d6

Browse files
committed
update runner script to run a smoke test after updating libs
1 parent f763daa commit 95482d6

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

scripts/update-libs.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,10 @@ CODEONTHEGO_SHA="$(git -C "$CODEONTHEGO_PATH" rev-parse --short HEAD 2>/dev/null
9999
echo ""
100100
echo "Updated libs/ from CodeOnTheGo@$CODEONTHEGO_SHA"
101101
printf " %-20s %s\n" "plugin-api.jar" "$(du -h "$LIBS_DIR/plugin-api.jar" | cut -f1)"
102-
printf " %-20s %s\n" "gradle-plugin.jar" "$(du -h "$LIBS_DIR/gradle-plugin.jar" | cut -f1)"
102+
printf " %-20s %s\n" "gradle-plugin.jar" "$(du -h "$LIBS_DIR/gradle-plugin.jar" | cut -f1)"
103+
104+
SMOKE_TEST_PLUGIN="keystore-generator"
105+
echo ""
106+
echo "Smoke test: building $SMOKE_TEST_PLUGIN against the refreshed libs..."
107+
(cd "$REPO_ROOT/$SMOKE_TEST_PLUGIN" && ./gradlew --console=plain assemblePlugin)
108+
echo "Smoke test passed."

0 commit comments

Comments
 (0)