Skip to content

Add a prompt upon generating project to fetch dependencies #21

Description

@mbramson

Similar to how the phoenix phx.new generator works after generating the project scaffolding, it would be great if the user was prompted whether they wanted to fetch dependencies.

If a user responds with yes, the following commands should be executed:
mix deps.get
cd assets && yarn install (if the --webpack flag is used)

Hopefully this the clean_up functionality in mix templates can be utilized as documented here: https://github.com/pragdave/mix_templates/blob/master/lib/mix_templates.ex#L360

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions