-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Only verify Jdk 9 classes on jdk 11.
- Loading branch information
Showing
3 changed files
with
29 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/bash | ||
|
||
echo "Checking Scala CLI version..." | ||
scala-cli --version | ||
|
||
echo "Starting verification with Scala-CLI..." | ||
|
||
for file in stream/target/scala-cli/*.sc; do | ||
echo "Starting verification for with file: $file." | ||
if scala-cli "$file" ; then | ||
echo "Verification successful for $file." | ||
else | ||
echo "Error when verifying $file." | ||
exit 1 | ||
fi | ||
done | ||
|
||
echo "All verifications successful." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters