Skip to content

Conversation

@danatcofo
Copy link
Contributor

Many build scenarios and scripts require certain flags to succeed. For example nuget restore might be required prior to running electronize build and support for the --no-restore flag in the generated publish command is required.

This PR adds the capability to add any of the dotnet publish flags to the electronize build command by appending the command with -- [--dotnet-publish-flag(s)]

Backwards compatibility to keep current builds running is maintained by adding the --self-contained flag if not present or overridden by --self-contained false|--no-self-contained. Additionally any other flags that are already built into the design of the command are ignored or stripped.

@danatcofo
Copy link
Contributor Author

danatcofo commented Jan 21, 2022

I've got a logic error somewhere in here... working on it

And fixed

@GregorBiswanger GregorBiswanger self-assigned this Apr 6, 2022
@GregorBiswanger GregorBiswanger added this to the 18.6.1 milestone Apr 6, 2022
@GregorBiswanger GregorBiswanger merged commit f0003ae into ElectronNET:master Apr 6, 2022
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