Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions sbt-test/pipelining/Yearly-tasty-output-inline/build.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
// defines a inline method
// NOTE: in this test, we are explictly fixing the classpath of project `b` to be `a-early.jar`
// to manually test pipelining without sbt/zinc managing the classpath.

// defines a inline method.
lazy val a = project.in(file("a"))
.settings(
scalacOptions ++= Seq("-Yearly-tasty-output", ((ThisBuild / baseDirectory).value / "a-early.jar").toString),
scalacOptions += "-Ystop-after:firstTransform",
scalacOptions += "-Ycheck:all",
)

Expand Down
5 changes: 3 additions & 2 deletions sbt-test/pipelining/Yearly-tasty-output/build.sbt
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
// NOTE: in this test, we are explictly fixing the classpath of project `c` to be `a-early.jar:b-early-out`
// to manually test pipelining without sbt/zinc managing the classpath.

// early out is a jar
lazy val a = project.in(file("a"))
.settings(
scalacOptions ++= Seq("-Yearly-tasty-output", ((ThisBuild / baseDirectory).value / "a-early.jar").toString),
scalacOptions += "-Ystop-after:firstTransform",
scalacOptions += "-Ycheck:all",
)

// early out is a directory
lazy val b = project.in(file("b"))
.settings(
scalacOptions ++= Seq("-Yearly-tasty-output", ((ThisBuild / baseDirectory).value / "b-early-out").toString),
scalacOptions += "-Ystop-after:firstTransform",
scalacOptions += "-Ycheck:all",
)

Expand Down