Skip to content

Commit

Permalink
Clean up the BuildPlugin
Browse files Browse the repository at this point in the history
  • Loading branch information
danicheg committed Nov 13, 2023
1 parent cb9dde2 commit 916fc10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions project/BuildPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -181,9 +181,8 @@ object BuildImplementation {
val projectBuild = ref.build
val workingDir = Keys.buildStructure.value.units(projectBuild).localBase.getAbsolutePath
val sourceRoot = s"-P:scalac-profiling:sourceroot:$workingDir"
val noProfileDb = s"-P:scalac-profiling:no-profiledb"
val pluginOpts = (PluginProject / BuildKeys.optionsForSourceCompilerPlugin).value
noProfileDb +: sourceRoot +: pluginOpts
sourceRoot +: pluginOpts
}
}

Expand Down

0 comments on commit 916fc10

Please sign in to comment.