cvogt / cbt

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

thing about how to best handle top-level UI tasks, such as `compile`, `format`, `package` #399

Open cvogt opened 7 years ago

cvogt commented 7 years ago

Implementation choices:

be super explicit

We could either not define them at all and let users define them, so they are completely explicit.

E.g. we don't have a compile task, but we have scala.compile and users can choose to alias it as compile.

be super automatic

or we define them as empty in the base build (most of them returning a Seq[File] they affected). Then every plugin hooks in and overrides them.

Be automatic for some, explicit for others

I could imagine doing the automatic option for e.g. compile. but manual for generate.

cvogt commented 7 years ago

related to https://github.com/cvogt/cbt/pull/448