Summary: Bumps [clap](https://github.com/clap-rs/clap) from 3.1.15 to 3.1.17. <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>v3.1.17</h2> <h2>[3.1.17] - 2022-05-06</h2> <h3>Fixes</h3> <ul> <li>Allow value names for <code>arg!</code> macro to have dashes when quoted, like longs</li> </ul> <h2>v3.1.16</h2> <h2>[3.1.16] - 2022-05-06</h2> <h3>Fixes</h3> <ul> <li><em>(parser)</em> <code>Arg::exclusive</code> overrides <code>Arg::required</code>, like other conflicts</li> <li><em>(error)</em> Don't duplicate arguments in usage</li> <li><em>(error)</em> Don't show hidden arguments in conflict error usage</li> <li><em>(help)</em> New <code>help_template</code> variable <code>{name}</code> to fix problems with <code>{bin}</code></li> <li><em>(help)</em> Don't wrap URLs</li> </ul> <p><strong>gated behind <code>unstable-v4</code></strong></p> <ul> <li>Leading dashes in <code>Arg::long</code> are no longer allowed</li> <li><em>(help)</em> Use <code>Command::display_name</code> in the help title rather than <code>Command::bin_name</code></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[3.1.17] - 2022-05-06</h2> <h3>Fixes</h3> <ul> <li>Allow value names for <code>arg!</code> macro to have dashes when quoted, like longs</li> </ul> <h2>[3.1.16] - 2022-05-06</h2> <h3>Fixes</h3> <ul> <li><em>(parser)</em> <code>Arg::exclusive</code> overrides <code>Arg::required</code>, like other conflicts</li> <li><em>(error)</em> Don't duplicate arguments in usage</li> <li><em>(error)</em> Don't show hidden arguments in conflict error usage</li> <li><em>(help)</em> New <code>help_template</code> variable <code>{name}</code> to fix problems with <code>{bin}</code></li> <li><em>(help)</em> Don't wrap URLs</li> </ul> <p><strong>gated behind <code>unstable-v4</code></strong></p> <ul> <li>Leading dashes in <code>Arg::long</code> are no longer allowed</li> <li><em>(help)</em> Use <code>Command::display_name</code> in the help title rather than <code>Command::bin_name</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="55e791e80e"><code>55e791e</code></a> chore: Release</li> <li><a href="ed0c01993c"><code>ed0c019</code></a> docs: Update changelog</li> <li><a href="229b44d9bb"><code>229b44d</code></a> fix(macros): Allow dashed values (<a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3699">https://github.com/facebook/flipper/issues/3699</a>)</li> <li><a href="95698a4f31"><code>95698a4</code></a> chore: Release</li> <li><a href="3984e55363"><code>3984e55</code></a> docs(complete): Update changelog</li> <li><a href="1a1a842aa0"><code>1a1a842</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3698">https://github.com/facebook/flipper/issues/3698</a> from epage/value</li> <li><a href="b266e6d35d"><code>b266e6d</code></a> fix(complete): Complete visible, rather than hidden, values</li> <li><a href="17b930c203"><code>17b930c</code></a> chore: Release</li> <li><a href="e74864994a"><code>e748649</code></a> docs: Update changelog</li> <li><a href="0e1e9525c8"><code>0e1e952</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3696">https://github.com/facebook/flipper/issues/3696</a> from epage/usage</li> <li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.1.15...v3.1.17">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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) </details> Pull Request resolved: https://github.com/facebook/flipper/pull/3699 Reviewed By: timur-valiev Differential Revision: D36371160 Pulled By: mweststrate fbshipit-source-id: 3cde137d719249ae3b86f8e6755172c5799faf9a
Flipper Packer
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.3.0
Facebook, Inc.
Split the Flipper distribution into smaller, cacheable artifacts
USAGE:
flipper-packer [FLAGS] [OPTIONS] <PLATFORM>
FLAGS:
-h, --help Prints help information
--no-compression Skip compressing the archives (for debugging)
-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