-
Notifications
You must be signed in to change notification settings - Fork 18
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
CI script: use jq to filter and output final format; ensure default target dir #325
Conversation
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.
i don't have a super strong grasp of jq
, but this does seem less flaky than the previous sed/cut nonsense i wrote! thanks!
@jamesmunns (low importance) if you feel like giving this a quick glance |
I'm fine with just merging this whenever, but if you want to wait for @jamesmunns, that's fine too. I'm pretty sure the new code does the right thing... |
this PR uses jq's (admittedly quite weird) builtin capabilities to create a list of crates to build docs for, instead of the previous grep/cut/sed/tr pipe.
It also unsets
$CARGO_TARGET_DIR
to ensure build products will reside in./target
.