Skip to content

Commit 4f27848

Browse files
committed
Merge pull request #593 from dotty-staging/fix-intellij
Clone scala/scala to ./scala-scala instead of ./scala
2 parents 76c6392 + ccbbe26 commit 4f27848

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

scripts/common

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ update() {
22
[[ -d $baseDir ]] || mkdir -p $baseDir
33
cd $baseDir
44

5-
if [ ! -d $baseDir/$2 ]; then git clone "https://github.com/$1/$2.git"; fi
5+
if [ ! -d $baseDir/$3 ]; then git clone "https://github.com/$1/$2.git" $3; fi
66

7-
cd $2
7+
cd $3
88

99
git fetch --tags "https://github.com/$1/$2.git"
10-
(git fetch "https://github.com/$1/$2.git" $3 && git checkout -fq FETCH_HEAD) #|| git checkout -fq $3 # || fallback is for local testing on tag
10+
(git fetch "https://github.com/$1/$2.git" $4 && git checkout -fq FETCH_HEAD) #|| git checkout -fq $4 # || fallback is for local testing on tag
1111
git reset --hard
1212
}
1313

scripts/jobs/validate/junit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ baseDir=${WORKSPACE-`pwd`}
44
scriptsDir="$baseDir/scripts"
55
. $scriptsDir/common
66

7-
update scala scala
7+
update scala scala scala-scala
88
sbt $sbtArgs update compile test

test/test/ScannerTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ class ScannerTest extends DottyTest {
5858

5959
@Test
6060
def scanScala() = {
61-
scanDir("./scala/src")
61+
scanDir("./scala-scala/src")
6262
}
6363
}

test/test/desugarPackage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ object desugarPackage extends DeSugarTest {
1111
val start = System.nanoTime()
1212
val startNodes = Trees.ntrees
1313
parseDir("./src")
14-
parseDir("./scala/src")
14+
parseDir("./scala-scala/src")
1515
val ms1 = (System.nanoTime() - start)/1000000
1616
val nodes = Trees.ntrees
1717
val buf = parsedTrees map desugarTree

test/test/parsePackage.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ object parsePackage extends ParserTest {
6666
nodes = 0
6767
val start = System.nanoTime()
6868
parseDir("./src")
69-
parseDir("./scala/src")
69+
parseDir("./scala-scala/src")
7070
val ms1 = (System.nanoTime() - start)/1000000
7171
val buf = parsedTrees map transformer.transform
7272
val ms2 = (System.nanoTime() - start)/1000000

0 commit comments

Comments
 (0)