Files
flipper/packer
dependabot[bot] c7f1ca6f1c Bump anyhow from 1.0.37 to 1.0.38 in /packer (#1822)
Summary:
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.37 to 1.0.38.
<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.38</h2>
<ul>
<li>Support using anyhow::Error in code executed by Miri (<a href="https://github-redirect.dependabot.com/dtolnay/anyhow/issues/134">https://github.com/facebook/flipper/issues/134</a>, thanks <a href="https://github.com/thomcc">thomcc</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6a16413b65"><code>6a16413</code></a> Release 1.0.38</li>
<li><a href="f3fe8bdd04"><code>f3fe8bd</code></a> Restore compatibility with rustc pre-1.38</li>
<li><a href="62673e2ccf"><code>62673e2</code></a> Adopt some NonNull wrappers</li>
<li><a href="d1b0c9a17c"><code>d1b0c9a</code></a> Only need vtable function for a type erased ErrorImpl</li>
<li><a href="bd5e39bd15"><code>bd5e39b</code></a> Elide ErrorImpl type parameter if erased</li>
<li><a href="ae372df93f"><code>ae372df</code></a> Merge pull request 134 from thomcc/mirimiri</li>
<li><a href="52c2c4c442"><code>52c2c4c</code></a> Fix parse failure in doc test</li>
<li><a href="9757e7f6ac"><code>9757e7f</code></a> Add miri to CI</li>
<li><a href="87fdd9ec91"><code>87fdd9e</code></a> Allow running tests under miri</li>
<li><a href="cb841d6e32"><code>cb841d6</code></a> Fix catching clippy warnings as CI failures</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/anyhow/compare/1.0.37...1.0.38">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.37&new-version=1.0.38)](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/1822

Reviewed By: priteshrnandgaonkar

Differential Revision: D25870651

Pulled By: passy

fbshipit-source-id: 8c4c9a03ade5cad9fa8acf15feb248d29d82d6b7
2021-01-14 10:44:20 -08:00
..
2020-11-30 03:51:30 -08:00
2020-05-01 04:04:48 -07:00
2020-05-01 04:04:48 -07:00

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