cvogt / cbt

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

scala abide support #169

Open cvogt opened 8 years ago

cvogt commented 8 years ago

https://github.com/scala/scala-abide

rzats commented 7 years ago

@cvogt: ran into an issue while trying to implement this. The core packages (scala.tools.abide.*) cannot be accessed by cbt, because apparently abide has no maven artifact.

At this moment, abide has not been released. You need to run sbt publishLocal in a local checkout of the abide repository.

Is there a way to do what the README's suggesting (i.e. clone the repository, publish the jars) programmatically?

cvogt commented 7 years ago

I wasn't aware that it doesn't. Maybe we should defer this then until we know this is actually not a dead project and anyone is using it. And focus on other stuff instead.

Programmatically, sue cbt currently has a jgit dependency, and we can also always to process calls to git or sbt. Apart from that I experimented with calling sbt programmatically from cbt here: https://github.com/cvogt/cbt-sbt But it wasn't faster than calling it from the command line if I recall correctly. There were probably also some unresolved issues still.