We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f98c53 commit ef88dd4Copy full SHA for ef88dd4
src/ScalaCliCompile.scala
@@ -87,6 +87,11 @@ trait ScalaCliCompile extends ScalaModule {
87
88
def compileScalaCli: Option[os.Path] = compileScalaCliImpl
89
90
+ def extraScalaCliHeadOptions: T[List[String]] =
91
+ T {
92
+ List.empty[String]
93
+ }
94
+
95
def extraScalaCliOptions: T[List[String]] =
96
T {
97
List.empty[String]
@@ -113,6 +118,7 @@ trait ScalaCliCompile extends ScalaModule {
113
118
114
119
val proc = os.proc(
115
120
cli,
121
+ extraScalaCliHeadOptions(),
116
122
Seq("compile", "--classpath"),
117
123
Seq("-S", scalaVersion()),
124
asOpt("-O", scalacOptions()),
0 commit comments