File tree Expand file tree Collapse file tree 5 files changed +4
-29
lines changed
jvm/src/test/scala/sourcecode Expand file tree Collapse file tree 5 files changed +4
-29
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,9 @@ val scalaVersions = "2.11.12" :: "2.12.13" :: "2.13.4" :: "3.0.0-RC1" :: dottyVe
8
8
val scala2Versions = scalaVersions.filter(_.startsWith(" 2." ))
9
9
10
10
val scalaJSVersions = for {
11
- scalaV <- scala2Versions
11
+ scalaV <- scalaVersions
12
12
scalaJSV <- Seq (" 0.6.33" , " 1.4.0" )
13
+ if scalaV.startsWith(" 2." ) || scalaJSV.startsWith(" 1." )
13
14
} yield (scalaV, scalaJSV)
14
15
15
16
val scalaNativeVersions = for {
@@ -90,15 +91,6 @@ object sourcecode extends Module {
90
91
def moduleDeps = Seq (JvmSourcecodeModule .this )
91
92
val crossScalaVersion = JvmSourcecodeModule .this .crossScalaVersion
92
93
}
93
-
94
- override def docJar =
95
- if (crossScalaVersion.startsWith(" 2" )) super .docJar
96
- else T {
97
- val outDir = T .ctx().dest
98
- val javadocDir = outDir / ' javadoc
99
- os.makeDir.all(javadocDir)
100
- mill.api.Result .Success (mill.modules.Jvm .createJar(Agg (javadocDir))(outDir))
101
- }
102
94
}
103
95
104
96
object js extends Cross [JsSourcecodeModule ](scalaJSVersions : _* )
Original file line number Diff line number Diff line change 3
3
# This is a wrapper script, that automatically download mill from GitHub release pages
4
4
# You can give the required mill version with MILL_VERSION env variable
5
5
# If no version is given, it falls back to the value of DEFAULT_MILL_VERSION
6
- DEFAULT_MILL_VERSION=0.9.5
6
+ DEFAULT_MILL_VERSION=0.9.5-48-4ad87f
7
7
8
8
set -e
9
9
Load Diff This file was deleted.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,6 +2,6 @@ package sourcecode
2
2
3
3
object TestUtil {
4
4
5
- val isDotty = false
5
+ val isDotty = true
6
6
7
7
}
You can’t perform that action at this time.
0 commit comments