Scaffolding for windows bundle
Summary: Just adds a function stub that will add the necessary run script for windows. Reviewed By: passy Differential Revision: D47627532 fbshipit-source-id: 09b6a203c2a5def20e586b5753d95ca58797852a
This commit is contained in:
committed by
Facebook GitHub Bot
parent
2fd94048fb
commit
5b2d20e0e0
@@ -612,6 +612,10 @@ async function setUpLinuxBundle(outputDir: string) {
|
||||
await fs.chmod(path.join(outputDir, 'flipper'), 0o755);
|
||||
}
|
||||
|
||||
async function setUpWindowsBundle(outputDir: string) {
|
||||
console.log(`⚙️ Creating Windows bundle in ${outputDir}`);
|
||||
}
|
||||
|
||||
async function setUpMacBundle(
|
||||
outputDir: string,
|
||||
versionNumber: string,
|
||||
@@ -676,6 +680,8 @@ async function bundleServerReleaseForPlatform(
|
||||
outputPaths = await setUpMacBundle(outputDir, versionNumber);
|
||||
} else if (platform === BuildPlatform.LINUX) {
|
||||
await setUpLinuxBundle(outputDir);
|
||||
} else if (platform === BuildPlatform.WINDOWS) {
|
||||
await setUpWindowsBundle(outputDir);
|
||||
}
|
||||
|
||||
console.log(`⚙️ Copying from ${dir} to ${outputPaths.resourcesPath}`);
|
||||
|
||||
Reference in New Issue
Block a user