Files
flipper/packer
dependabot[bot] 51420556ea Bump anyhow from 1.0.55 to 1.0.56 in /packer (#3520)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.55 to 1.0.56.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p>
<blockquote>
<h2>1.0.56</h2>
<ul>
<li>Add <code>must_use</code> warning when an Error created by <code>anyhow!</code> is not used, perhaps because the programmer meant to write <code>bail!</code> instead (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/229">https://github.com/facebook/flipper/issues/229</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="933df8845a"><code>933df88</code></a> Release 1.0.56</li>
<li><a href="c8a3e4221c"><code>c8a3e42</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/229">https://github.com/facebook/flipper/issues/229</a> from dtolnay/must_use</li>
<li><a href="cf5d619822"><code>cf5d619</code></a> Update must-use test stderr</li>
<li><a href="573689b5f4"><code>573689b</code></a> Remove must_use call from ensure! and bail! expansions</li>
<li><a href="ffa919c8aa"><code>ffa919c</code></a> Add must_use to value created by anyhow! macro</li>
<li><a href="1af20cc440"><code>1af20cc</code></a> Add must_use to Error constructors</li>
<li><a href="06826d1d79"><code>06826d1</code></a> Add ui test for writing anyhow instead of bail</li>
<li>See full diff in <a href="https://github.com/dtolnay/anyhow/compare/1.0.55...1.0.56">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=anyhow&package-manager=cargo&previous-version=1.0.55&new-version=1.0.56)](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/3520

Reviewed By: antonk52

Differential Revision: D34861339

Pulled By: lblasa

fbshipit-source-id: 01f9ae5c1e7f4a7caa0761f559fd72b90794973b
2022-03-14 09:26:38 -07:00
..
2020-05-01 04:04:48 -07:00
2021-03-23 13:28:14 -07:00

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