kitto icon indicating copy to clipboard operation
kitto copied to clipboard

Pre-compile application on `kitto.new`

Open davejlong opened this issue 8 years ago • 2 comments

As the CLI is built out more, to lower the barrier of entry, when running mix kitto.new the application should get compiled to make all mix tasks immediately available.

davejlong avatar Mar 28 '17 04:03 davejlong

I like the idea, though in order for the dependencies to be compiled they have to be fetched before via: mix deps.get which is currently optional in mix kitto.new.

The best option seems to me to split the currentFetch and install dependencies? [Yn] question in 2 parts:

  • Fetch and install Elixir dependencies? [Yn]
  • Fetch and install JavaScript dependencies? [Yn]

When the user chooses to install Elixir dependencies we can also mix deps.compile to make the mix tasks available.

zorbash avatar Apr 01 '17 15:04 zorbash

Another option for building this is to code it into kitto_new instead of Kitto core.

davejlong avatar Jun 10 '17 20:06 davejlong