Skip to content

std.build.InstallRawStep: allow custom dest_dir#9975

Merged
andrewrk merged 1 commit intoziglang:masterfrom
marler8997:installRawOptions
Dec 3, 2021
Merged

std.build.InstallRawStep: allow custom dest_dir#9975
andrewrk merged 1 commit intoziglang:masterfrom
marler8997:installRawOptions

Conversation

@marler8997
Copy link
Copy Markdown
Contributor

@marler8997 marler8997 commented Oct 18, 2021

I'm working on a build.zig file where I'm leveraging InstallRawStep but I'd like to change the install dir. This allows the install dir to be changed and also enhances InstallRawStep to add more options in the future by putting them into a struct with default values. This also removes the need for the extra addInstallRawWithFormat functions by putting the format option in the new options struct.

@marler8997 marler8997 force-pushed the installRawOptions branch 7 times, most recently from 5252bb2 to 95def2d Compare October 22, 2021 00:14
I'm working on a build.zig file where I'm leveraging InstallRawStep but I'd like to change the install dir.  This allows the install dir to be changd and also enhances InstallRawStep to add more options in the future by putting them into a struct with default values.  This also removes the need for an extra addInstallStepWithFormat function in build.zig.
@andrewrk andrewrk merged commit 7659229 into ziglang:master Dec 3, 2021
@marler8997 marler8997 deleted the installRawOptions branch December 4, 2021 05:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants