Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upadding a check to bootstrap script #36256
Conversation
rust-highfive
assigned
brson
Sep 4, 2016
This comment has been minimized.
This comment has been minimized.
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
This comment has been minimized.
This comment has been minimized.
|
Thanks for the PR! The |
This comment has been minimized.
This comment has been minimized.
|
Yeah, I didn't make it as far as actually make it do something yet. I was reading through the bootstrap readme and was probably ask for some guidance but thanks for the advance advice. :) |
This comment has been minimized.
This comment has been minimized.
|
I don't have a solid grasp on how all the build system pieces work these days, but I expected this detection to happin in |
This comment has been minimized.
This comment has been minimized.
|
Dang, ok. I was a bit off. I think I focused on /src/bootstrap too much and will look at configure more. |
ducks
added some commits
Sep 7, 2016
This comment has been minimized.
This comment has been minimized.
|
So I think I made a bit of progress. I am now detecting nodejs back in I get a bit lost after this. Where to pass it next or how to add a test to compiletest for it or if I need to? Any advice on where to look next? Thanks in advance! :) |
alexcrichton
reviewed
Sep 8, 2016
| // If a manual nodejs was added to the config, | ||
| // of if a nodejs install is detected through config, use it. | ||
| if build.config.nodejs.is_some() { | ||
| need_cmd("nodejs".as_ref()) |
This comment has been minimized.
This comment has been minimized.
alexcrichton
Sep 8, 2016
Member
Here I think you'll want to do:
if let Some(ref s) = build.config.nodejs {
need_cmd(s.as_ref());
}
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Sep 9, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry On Fri, Sep 9, 2016 at 12:40 PM, bors notifications@github.com wrote:
|
This comment has been minimized.
This comment has been minimized.
bors
added a commit
that referenced
this pull request
Sep 9, 2016
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@bors: retry On Fri, Sep 9, 2016 at 3:27 PM, bors notifications@github.com wrote:
|
ducks commentedSep 4, 2016
and a check to the rust config script
refs #36207
first crack at making configure detect nodejs