-
Notifications
You must be signed in to change notification settings - Fork 231
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
Make scripts in rlx_prv_assembler DTL templates #128
Conversation
@nuex could you clean this up so it passes the CI build? |
I think it failed because Travis didn't have an updated rebar. Latest rebar should build it fine. Any way you can restart the build and see if it works? |
Yep, I think so, let me try! On Tue, Mar 4, 2014 at 9:54 AM, Chase James notifications@git.luolix.topwrote:
|
Well, this didn't work out. I'm guessing Travis isn't using the latest rebar. It builds fine on my local machine. I got on Travis IRC and asked what version of rebar they are using. Another possibility for checking the rebar version is to have make rebuild run "rebar --version" and allowing us to see the version in Travis's build results. |
@jwilberding more updates on this. I told the folks on #travis my problem and they just realized their default rebar is from the basho/rebar repository. They suggested we include a compiled rebar bin in the relx repo and travis will use that instead by default. I personally prefer keeping bins out of the repo and in a directory loaded from $PATH. What do you think? |
I was just informed that we could pull the rebar bin before building. Maybe call include |
@jwilberding there's been some progress on this: https://github.com/travis-ci/travis-cookbooks/blob/master/ci_environment/rebar/attributes/default.rb |
@Neux I will try kicking off the build again |
@nuex Still failing :( I guess it may not be a bad idea to change the build script to automatically pull in rebar. Do you have time to do that and submit a PR? It may be a day or two before I can do it. |
@jwilberding: Sure! |
@jwilberding Here is the PR: #134 |
@Neux Still failing for R16: https://travis-ci.org/erlware/relx/builds/20039654 |
@jwilberding I haven't rebased this against master yet. Should be able to get to it in an hour or so. |
@jwilberding I'll work on this more later this afternoon. |
@jwilberding well, it almost passed: https://travis-ci.org/erlware/relx/jobs/20315459 |
@jwilberding this may have been a glitch in the build. Would you mind restarting it to see if it happens again? |
@nuex Still failing.. but I am not sure why.. do you have any ideas? |
@jwilberding this is green now. |
Wooo! @jwilberding I'll leave merging to you in case there is anything you wanted to verify :) |
Make scripts in rlx_prv_assembler DTL templates
Thanks for working through that @nuex :) |
yay! |
This moves scripts out of the rlx_prv_assembler and into their own DTL template files in priv/templates.
This will work with the latest rebar.