File tree 6 files changed +9
-10
lines changed 6 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ script:
13
13
# # This runs the template with the default parameters, and runs test within the templated app.
14
14
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M test
15
15
16
- - pushd target/sbt-test/dotty -tasty-inspector-template/scripted
16
+ - pushd target/sbt-test/scala3 -tasty-inspector-template/scripted
17
17
- sbt inspector/run test
18
18
- popd
19
19
Original file line number Diff line number Diff line change 4
4
lazy val root = project
5
5
.in(file(" ." ))
6
6
.settings(
7
- name := " dotty -tasty-inspector-template" ,
7
+ name := " scala3 -tasty-inspector-template" ,
8
8
test in Test := {
9
9
val _ = (g8Test in Test ).toTask(" " ).value
10
10
},
Original file line number Diff line number Diff line change 1
- val dottyVersion = " 3.0.0-M2 "
1
+ val scala3Version = " 3.0.0-M3 "
2
2
3
3
lazy val lib = project
4
4
.in(file(" lib" ))
5
5
.settings(
6
6
name := " lib" ,
7
7
version := " 0.1.0" ,
8
8
9
- scalaVersion := dottyVersion ,
9
+ scalaVersion := scala3Version ,
10
10
11
11
libraryDependencies += " com.novocode" % " junit-interface" % " 0.11" % " test"
12
12
)
@@ -17,10 +17,10 @@ lazy val inspector = project
17
17
name := " inspector" ,
18
18
version := " 0.1.0" ,
19
19
20
- scalaVersion := dottyVersion ,
20
+ scalaVersion := scala3Version ,
21
21
22
22
libraryDependencies ++= Seq (
23
- " org.scala-lang" %% " scala3-tasty-inspector" % dottyVersion ,
23
+ " org.scala-lang" %% " scala3-tasty-inspector" % scala3Version ,
24
24
" com.novocode" % " junit-interface" % " 0.11" % " test"
25
25
)
26
26
)
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ package inspector
3
3
import scala .quoted ._
4
4
5
5
@ main def run =
6
- val tastyFile = " lib/target/scala-3.0.0-M2 /classes/lib/Greetings.tasty"
6
+ val tastyFile = " lib/target/scala-3.0.0-M3 /classes/lib/Greetings.tasty"
7
7
val tastyContents = Inspector .showCodeOf(tastyFile)
8
8
println(tastyContents)
9
-
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ class InspectorTest {
14
14
| def hello(name: scala.Predef.String): scala.Predef.String = "Hello ".+(name)
15
15
| }
16
16
|}""" .stripMargin,
17
- Inspector .showCodeOf(" lib/target/scala-3.0.0-M2 /classes/lib/Greetings.tasty" )
17
+ Inspector .showCodeOf(" lib/target/scala-3.0.0-M3 /classes/lib/Greetings.tasty" )
18
18
)
19
19
20
20
}
Original file line number Diff line number Diff line change 1
- addSbtPlugin(" ch.epfl.lamp" % " sbt-dotty" % " 0.4.6 " )
1
+ addSbtPlugin(" ch.epfl.lamp" % " sbt-dotty" % " 0.5.0 " )
You can’t perform that action at this time.
0 commit comments