cvogt / cbt

CBT - fun, fast, intuitive, compositional, statically checked builds written in Scala
Other
488 stars 60 forks source link

supporting sbt plugins #65

Open cvogt opened 8 years ago

cvogt commented 8 years ago

We may be able to support some or all SBT plugins fully or in a limited fashion by programatically turning CBT builds into SBT builds and then executing tasks on them. Not sure that's actually possible because the wiring of CBT builds is by method calls and can't be explored programatically unless we have TASTY or do some macro annotation magic (which may actually be fine for sbt interop).

This is definitely worth exploring i order to tap on the solutions for use cases already implemented as SBT plugins.

Any opinions on this @clhodapp @masseguillaume

MasseGuillaume commented 8 years ago

This one is pretty hard. One way would be to generate a sbt build from a cbt build and then use the sbt plugins via https://github.com/cvogt/cbt/issues/64. A famous dual build project would be scala/scala (sbt, maven). They have to maintain both builds manually.