-
Notifications
You must be signed in to change notification settings - Fork 26
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
twoliter: Dedup cargo make logic #97
Conversation
d81edc6
to
9f928d2
Compare
^ Add testing for all |
let (sdk, toolchain) = require_sdk(project, &arch.into())?; | ||
Ok(Self::default() | ||
.env("TLPRIVATE_SDK_IMAGE", sdk) | ||
.env("TLPRIVATE_TOOLCHAIN", toolchain)) |
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'm thinking about whether we should just hang on to &'a Project
and do things like this during the exec call. I'm also slightly concerned about lack of clarity regarding what args could be passed during exec
and which are managed by this object.
These are not huge concerns. Just some things to consider and change if it feels like we can do better.
735e75a
to
0eb0330
Compare
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.
Ethan said he found a bug. Marking this as do-not-merge.
Issue #, if available:
Part of the work on #82
Description of changes:
We will be calling cargo make from different CLI commands, so we want the cargo make invocation to be re-usable.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.