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 phoenix 1.3 phx prefixed mix tasks #56

Merged
merged 2 commits into from
Oct 25, 2017

Conversation

jonmast
Copy link
Contributor

@jonmast jonmast commented Oct 22, 2017

Phoenix 1.3 uses phx.* as the prefix for its mix tasks instead of phoenix.*. The generated directories are also substantially different. This PR adds phx.gen.html.slime and phx.gen.layout.slime mix tasks to mimic this behavior with slime templates.

Phoenix 1.3 has switched to using tasks prefixed with phx instead of
phoenix. The phx.gen.html task also requires a namespacing context to be
passed in. This adds a phx.gen.html.slime task for generating slime
templates using the new format.
Use phoenix 1.3 naming convention for mix task and place the generated
file in the new template location.
@doomspork
Copy link
Member

Thank you @jonmast! I will cut a release today or tomorrow 👍

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

Successfully merging this pull request may close these issues.

2 participants