typelead / etlas

Etlas, the build tool and package manager for the Eta programming language
63 stars 10 forks source link

Design of new command "project" #97

Open jneira opened 5 years ago

jneira commented 5 years ago
jneira commented 5 years ago

The actual etlas deps command maybe could be included in this one as

etlas project deps [component] --format=[dhall,cabal,gradle,maven?,default(the actual one)]

The generation of complete config files as

etlas project config [component] --format=[dhall,cabal,gradle,maven?]

And watch:

etlas project watch-files etlas project watched-files (to make clear we are querying wich files are being watched and no telling etlas to watch any file)

rahulmutt commented 5 years ago

@jneira That looks good so far. The etlas deps change will break gradle-eta so we should make sure we bump the version number so that we can detect the change and use the right command.

jneira commented 5 years ago

@rahulmutt yeah, even we could keep the separate command one major version and mark it as deprecated, to remove it safer in the next major release.

rahulmutt commented 5 years ago

We can be faster than that since it's really easy to update gradle-eta and have users update as well. gradle-eta keeps track of etlas version so we just do a version check before doing the deps command.