File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ object projects:
133133 s """ set $project/Compile/scalacOptions := ( $project/Compile/scalacOptions).value.filterNot(opt => opt == "-release" || opt == "8") """
134134 ).mkString(" ; " )
135135
136+ private def removeFatalWarnings (projects : String * ): String =
137+ projects.map(project =>
138+ s """ set $project/Compile/scalacOptions := ( $project/Compile/scalacOptions).value.filterNot(opt => opt == "-Werror" || opt == "-Xfatal-warnings") """
139+ ).mkString(" ; " )
140+
136141 private def aggregateDoc (in : String )(projects : String * ) =
137142 val tastyFiles =
138143 (in +: projects).map(p => s " ( $p/Compile/doc/dotty.tools.sbtplugin.DottyPlugin.autoImport.tastyFiles).value " ).mkString(" ++ " )
@@ -633,6 +638,7 @@ object projects:
633638 sbtTestCommand =
634639 List (
635640 removeRelease8(" coreJVM" , " coreJS" ), // io/test currently fails JDK9+
641+ removeFatalWarnings(" coreJVM" , " coreJS" ),
636642 " coreJVM/test; coreJS/test;"
637643 ).mkString(" ; " ),
638644 sbtPublishCommand = " coreJVM/publishLocal; coreJS/publishLocal" ,
You can’t perform that action at this time.
0 commit comments