Skip to content
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

Added Universal binary option for macOS #271

Merged
merged 1 commit into from
Aug 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lib/nextron-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ const args = arg({
'--ia32': Boolean,
'--armv7l': Boolean,
'--arm64': Boolean,
'--universal': Boolean,
'--config': String,
'--publish': String,
'-h': '--help',
Expand Down Expand Up @@ -49,6 +50,7 @@ if (args['--help']) {
--ia32 builds for ia32
--armv7l builds for armv7l
--arm64 builds for arm64
--universal builds for mac universal binary
--publish -p Publish artifacts (see https://goo.gl/tSFycD)
[choices: "onTag", "onTagOrDraft", "always", "never", undefined]

Expand Down Expand Up @@ -124,6 +126,7 @@ function createArchArgs() {
args['--ia32'] && archArgs.push('--ia32');
args['--armv7l'] && archArgs.push('--armv7l');
args['--arm64'] && archArgs.push('--arm64');
args['--universal'] && archArgs.push('--universal');
return archArgs;
}

Expand Down