-
-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #757 from mkurz/cmd.yml
Switch to cmd.yml
- Loading branch information
Showing
4 changed files
with
20 additions
and
15 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
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo SCALA_VERSION=$SCALA_VERSION | ||
sbt -DscalaJSStage=full ++$SCALA_VERSION test publishLocal || exit 1 | ||
echo MATRIX_SCALA=$MATRIX_SCALA | ||
sbt -DscalaJSStage=full ++$MATRIX_SCALA test publishLocal || exit 1 | ||
|
||
case "$SCALA_VERSION" in | ||
case "$MATRIX_SCALA" in | ||
3.*) echo "SKIPPING docs/test" ;; | ||
# ^ because there is no play-docs for Scala 3 | ||
# and we can't use play-docs_2.13 because then: | ||
# [error] Modules were resolved with conflicting cross-version suffixes in ProjectRef(uri("file:/d/play-json/"), "docs"): | ||
# [error] com.typesafe.play:play-functional _2.13, _3.0.0-M3 | ||
# [error] com.typesafe.play:play-json _2.13, _3.0.0-M3 | ||
|
||
*) sbt ++$SCALA_VERSION docs/test || exit 2 ;; | ||
*) sbt ++$MATRIX_SCALA docs/test || exit 2 ;; | ||
esac |