Add sparse profile
Summary: If you just use this profile `hg sparse switch tools/scm/sparse/xplat/flipper-js`, your total checkout will only be around 9 gigs. I officially ran out of patience and out of space with the recent addition of `/arvr` which alone is about 40GB and I mostly touch Flipper files. I also included staticdocs and the Rust third-party libraries so Launcher, plugin-metrics etc. are supported, too. Reviewed By: mweststrate Differential Revision: D31243980 fbshipit-source-id: 650d67d89298901610fa20330b7737f0a304569e
This commit is contained in:
committed by
Facebook GitHub Bot
parent
42374cb10d
commit
1d5a2d876f
@@ -75,13 +75,23 @@ Tip: start with `yarn start --fast-refresh` for experimental fast refresh.
|
||||
|
||||
<FbInternalOnly>
|
||||
|
||||
```
|
||||
fbclone fbsource
|
||||
```bash
|
||||
fbclone fbsource --sparse tools/scm/sparse/xplat/flipper-js
|
||||
cd ~/fbsource/xplat/sonar/desktop
|
||||
yarn
|
||||
yarn start
|
||||
```
|
||||
|
||||
A note on sparse profiles: We have a minimal profile for working with the Flipper JavaScript
|
||||
files in `fbsource` for plugin developers. This will drastically reduce the size of your checkout, but
|
||||
won't include the files necessary to, for instance, build and work on mobile apps.
|
||||
|
||||
If you have an existing sparse checkout, you can add the Flipper profile with
|
||||
|
||||
```bash
|
||||
hg sparse enable tools/scm/sparse/xplat/flipper-js
|
||||
```
|
||||
|
||||
Tip: start with `yarn start --fast-refresh` for experimental fast refresh.
|
||||
|
||||
Tip: start wih `yarn start --public-build` to preview changes for public builds.
|
||||
|
||||
Reference in New Issue
Block a user