You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If sbt-metabrowse has some kind of metabrowseForceCompile command that inserts the semanticdb-scalac compiler plugin and -YrangeposscalacOptions, then we can add the plugin globally and run that command in any build without fiddling with the build settings.
Some builds do libraryDependencies := ... and scalacOptions := ... which overrides addCompilerPlugin from the plugin.
The text was updated successfully, but these errors were encountered:
We can achieve this with a command that updates the build state, here is prior art https://gist.github.com/olafurpg/5ea6b16bbdb8b49f47a661acedbe1d36
With SemanticdbPlugin installed, you can run the mbrowse command and it enables the semanticdb compiler plugin if it's not already enabled and then runs compile in all projects.
jonas
changed the title
Consider adding a metadocForceCompile task to sbt-metadoc
Consider adding a metabrowseForceCompile task to sbt-metabrowse
Oct 26, 2018
If sbt-metabrowse has some kind of
metabrowseForceCompile
command that inserts the semanticdb-scalac compiler plugin and-Yrangepos
scalacOptions
, then we can add the plugin globally and run that command in any build without fiddling with the build settings.Some builds do
libraryDependencies := ...
andscalacOptions := ...
which overridesaddCompilerPlugin
from the plugin.The text was updated successfully, but these errors were encountered: