Compact universal builds for macOS

This commit is contained in:
Fedor Indutny 2021-12-17 01:11:18 +01:00 committed by GitHub
parent 9d1d219853
commit afd6f3bc20
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 227 additions and 9 deletions

View file

@ -7,7 +7,7 @@ import rimraf from 'rimraf';
import { execSync } from 'child_process';
import packageJSON from '../../package.json';
export function zipMacOSRelease(): void {
function zipMacOSRelease(): void {
if (process.platform !== 'darwin') {
return;
}
@ -82,3 +82,5 @@ export function zipMacOSRelease(): void {
console.log('zip-macos-release is done');
}
zipMacOSRelease();