Skip to content

Commit 1f2487c

Browse files
committed
Initial commit.
0 parents  commit 1f2487c

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/scala-js/

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Testing Scala.js against the nightly builds of Scala
2+
3+
Work-in-progress

run.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
BRANCH="$1"
2+
3+
SCALA_VERSION=$(wget -q -O - https://raw.githubusercontent.com/scala/community-builds/$BRANCH/nightly.properties | grep '^nightly=' | cut -d '=' -f2)
4+
SUFFIX=$(echo $BRANCH | tr '.' '_' | cut -d '_' -f1-2)
5+
6+
echo "Branch: $BRANCH"
7+
echo "Scala version: $SCALA_VERSION"
8+
echo "Project suffix: $SUFFIX"
9+
10+
rm -rf scala-js/ && \
11+
git clone https://github.com/scala-js/scala-js.git && \
12+
cd scala-js && \
13+
git checkout master && \
14+
npm install && \
15+
sbt 'set resolvers in Global += "scala-integration" at "https://scala-ci.typesafe.com/artifactory/scala-integration/"' ++$SCALA_VERSION testSuite$SUFFIX/test

0 commit comments

Comments
 (0)