Merge branch 'main' of github.com:facebook/flipper into universalBuild
This commit is contained in:
@@ -220,6 +220,16 @@ async function buildDist(buildFolder: string) {
|
||||
distDir,
|
||||
process.arch === 'arm64' ? 'mac-arm64' : 'mac',
|
||||
);
|
||||
if (argv['react-native-only']) {
|
||||
targetsRaw.push(Platform.MAC.createTarget(['pkg'], Arch.x64));
|
||||
// macPath = path.join(distDir, 'mac');
|
||||
} else {
|
||||
targetsRaw.push(Platform.MAC.createTarget(['dir']));
|
||||
// You can build mac apps on Linux but can't build dmgs, so we separate those.
|
||||
if (argv['mac-dmg']) {
|
||||
targetsRaw.push(Platform.MAC.createTarget(['dmg']));
|
||||
}
|
||||
}
|
||||
postBuildCallbacks.push(() =>
|
||||
spawn('zip', ['-qyr9', '../Flipper-mac.zip', 'Flipper.app'], {
|
||||
cwd: macPath,
|
||||
|
||||
Reference in New Issue
Block a user