-
Notifications
You must be signed in to change notification settings - Fork 22
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
Include template files #81
Conversation
Changed template.rs to use the included template files using the code generated by the build script. It should be noted that this commit removes the awareness of template types.
This is the first time I've written Rust. I'm open to suggestions and feedback, even if it's simply idiomatic changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @BradLugo! Looks pretty good, I just have two comments.
faf8435
to
55eaf02
Compare
https://travis-ci.org/amethyst/tools/jobs/545270691#L635 - liquid doesn't build anymore. |
also see rust-lang/rust#60958 (comment) |
Is this blocking the PR? I can look into liquid's repo and see if this is an issue in the current version, and I can open an issue to do a general upgrade for this project, moving to Rust 2018 and upgrading the other packages. I can encompass the liquid build issue along with any other packages that might break the build. |
It's failing CI, but I guess I can merge like this. |
This PR adds the build script functionality back and changes
deploy
to use the included files.Note that the build script doesn't account for different templates, only
main
templates. Thus,deploy
doesn't change its behavior based on thetemplate
parameter. I'll open an issue to add functionality to determine more templates if and when this PR is merged.Closes #71