Summary: Bumps [clap](https://github.com/clap-rs/clap) from 2.33.0 to 2.33.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v2.33.1</h2> <p><a name="v2.33.1"></a></p> <h3>v2.33.1 (2020-05-11)</h3> <h4>Bug Fixes</h4> <ul> <li>Windows: Prevent some panics when parsing invalid Unicode on Windows (<a href="922c645083">922c645</a>, closes <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1905">#1905</a>)</li> </ul> <h4>Documentation</h4> <ul> <li>fixes versions referenced in the README (<a href="d307466af1">d307466a</a>)</li> <li><strong>README.md:</strong> <ul> <li>cuts down the number of examples to reduce confusion (<a href="6e508ee09e">6e508ee0</a>)</li> </ul> </li> </ul> <h4>Improvements</h4> <ul> <li><strong>Deps:</strong> doesnt compile ansi_term on Windows since its not used (<a href="b57ee94609">b57ee946</a>, closes <a href="https://github-redirect.dependabot.com/kbknapp/clap-rs/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li> </ul> <h4>Minimum Required Rust</h4> <ul> <li>As of this release, <code>clap</code> requires <code>rustc 1.36.0</code> or greater.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/v2.33.1/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h3>v2.33.1 (2020-05-11)</h3> <h4>Bug Fixes</h4> <ul> <li>Windows: Prevent some panics when parsing invalid Unicode on Windows (<a href="922c645083">922c645</a>, closes <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1905">#1905</a>)</li> </ul> <h4>Documentation</h4> <ul> <li>fixes versions referenced in the README (<a href="d307466af1">d307466a</a>)</li> <li><strong>README.md:</strong> <ul> <li>cuts down the number of examples to reduce confusion (<a href="6e508ee09e">6e508ee0</a>)</li> </ul> </li> </ul> <h4>Improvements</h4> <ul> <li><strong>Deps:</strong> doesnt compile ansi_term on Windows since its not used (<a href="b57ee94609">b57ee946</a>, closes <a href="https://github-redirect.dependabot.com/kbknapp/clap-rs/issues/1155">https://github.com/facebook/flipper/issues/1155</a>)</li> </ul> <h4>Minimum Required Rust</h4> <ul> <li>As of this release, <code>clap</code> requires <code>rustc 1.36.0</code> or greater.</li> </ul> <p><a name="v2.33.0"></a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="ffb8d552c2"><code>ffb8d55</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1917">#1917</a> from clap-rs/v2.33.1</li> <li><a href="7ac16ac5c7"><code>7ac16ac</code></a> chore: increase ver ref in lib.rs</li> <li><a href="bc3291db8e"><code>bc3291d</code></a> chore: increase version on v2 branch</li> <li><a href="922c645083"><code>922c645</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1907">#1907</a> from oconnor663/windows_2.33</li> <li><a href="703caf37c4"><code>703caf3</code></a> prevent some panics when parsing invalid Unicode on Windows</li> <li><a href="0129fe517a"><code>0129fe5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/1673">#1673</a> from clap-rs/v2-ci</li> <li><a href="48a71f35ac"><code>48a71f3</code></a> Update minimum rust version</li> <li><a href="57baeb489c"><code>57baeb4</code></a> Formatted rust</li> <li><a href="f9ffeb8616"><code>f9ffeb8</code></a> CI for v2-master</li> <li><a href="fa45af5cad"><code>fa45af5</code></a> where -> were</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v2.33.0...v2.33.1">compare view</a></li> </ul> </details> <br /> [](https://dependabot.com/compatibility-score/?dependency-name=clap&package-manager=cargo&previous-version=2.33.0&new-version=2.33.1) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `dependabot rebase` will rebase this PR - `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `dependabot merge` will merge this PR after your CI passes on it - `dependabot squash and merge` will squash and merge this PR after your CI passes on it - `dependabot cancel merge` will cancel a previously requested merge and block automerging - `dependabot reopen` will reopen this PR if it is closed - `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in the `.dependabot/config.yml` file in this repo: - Update frequency - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/1170 Reviewed By: passy Differential Revision: D21619402 Pulled By: cekkaewnumchai fbshipit-source-id: 88f9d7579e4c5c0027b2144006fbaff7a02540ef
Flipper Packer
Work in progress and incomplete
A tool for splitting a Flipper build into smaller artifacts that can be distributed and cached separately.
N.B. Buck build files are not included in the open-source export of this tool.
Building
With cargo:
$ cargo build
With Buck:
$ buck build :packer
Testing
With cargo:
$ cargo test
With Buck:
$ buck test :packer
Usage
See help page:
$ cargo run -- --help
flipper-packer 0.1.0
Facebook, Inc.
USAGE:
flipper-packer [FLAGS] [OPTIONS] <PLATFORM>
FLAGS:
-h, --help Prints help information
-p, --packlist Custom list of files to pack.
-V, --version Prints version information
OPTIONS:
-d, --dist <DIRECTORY> Flipper dist directory to read from. [default: ~/fbsource/xplat/sonar/dist]
-o, --output <DIRECTORY> Directory to write output files to. [default: .]
ARGS:
<PLATFORM> Platform to build for [possible values: Mac, Linux, Windows]
Buck:
$ buck run :packer