Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Commit

Permalink
Run server build as part of normal SandCastle build
Browse files Browse the repository at this point in the history
Summary: Build flipper-server as normal build job. Note that `--no-rebuild-plugins` is used to save a lot of time, and

Reviewed By: passy

Differential Revision: D33361569

fbshipit-source-id: 55e97f81dbcfa98901ddc21e2f35f4d1134c74ef
  • Loading branch information
mweststrate authored and facebook-github-bot committed Jan 4, 2022
1 parent c0fac38 commit d92c403
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion desktop/scripts/build-flipper-server-release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ if (isFB) {

process.env.FLIPPER_RELEASE_CHANNEL = argv.channel;

process.env.FLIPPER_NO_BUNDLED_PLUGINS = 'true';
if (argv['default-plugins'] === true) {
delete process.env.FLIPPER_NO_DEFAULT_PLUGINS;
} else if (argv['default-plugins'] === false) {
process.env.FLIPPER_NO_DEFAULT_PLUGINS = 'true';
}

// Don't rebuild default plugins, mostly to speed up testing
if (argv['rebuild-plugins'] === false) {
Expand Down

0 comments on commit d92c403

Please sign in to comment.