Skip to content

Commit

Permalink
go back to use Test scalacOptions in tut
Browse files Browse the repository at this point in the history
  • Loading branch information
kailuowang authored Oct 13, 2017
1 parent 969c79e commit ecdbf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/src/main/scala/tut/TutPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ object TutPlugin extends AutoPlugin {
watchSources in Defaults.ConfigGlobal ++= (tutSourceDirectory.value ** new NameFilter {
override def accept(name: String): Boolean = tutNameFilter.value.pattern.matcher(name).matches()
}).get,
scalacOptions in Tut := (scalacOptions in (Compile, console)).value,
scalacOptions in Tut := (scalacOptions in Test).value,
tutPluginJars := {
// no idea if this is the right way to do this
val deps = (libraryDependencies in Tut).value.filter(_.configurations.fold(false)(_.startsWith("plugin->")))
Expand Down

0 comments on commit ecdbf15

Please sign in to comment.