Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a prompt upon generating project to fetch dependencies #21

Open
mbramson opened this issue Aug 29, 2017 · 0 comments
Open

Add a prompt upon generating project to fetch dependencies #21

mbramson opened this issue Aug 29, 2017 · 0 comments

Comments

@mbramson
Copy link
Owner

mbramson commented Aug 29, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant