Files
flipper/packer
Pascal Hartig 7114b41ee3 Fix test
Summary: Broken here: https://github.com/facebook/flipper/actions/runs/5081747819/jobs/9130539143

Reviewed By: antonk52

Differential Revision: D46189738

fbshipit-source-id: b26da6e6bc2434b4b48962d195f30ab9e18cb6de
2023-05-25 10:13:23 -07:00
..
2023-05-25 10:13:23 -07:00
2020-05-01 04:04:48 -07:00
2023-05-24 07:34:12 -07:00
2023-05-24 07:34:12 -07:00
2022-07-27 07:43:12 -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.4.0
Facebook, Inc.
Helper tool that breaks down a Flipper release into smaller artifacts.

USAGE:
    flipper-packer [OPTIONS] <PLATFORM>

ARGS:
    <PLATFORM>    Platform to build for

OPTIONS:
    -d, --dist <DIST>            Flipper dist directory to read from [default:
                                 ~/fbsource/xplat/sonar/dist]
    -h, --help                   Print help information
        --no-compression         Skip compressing the archives (for debugging)
    -o, --output <OUTPUT>        Directory to write output files to [default: .]
    -p, --packlist <PACKLIST>    Custom list of files to pack
    -V, --version                Print version information

Buck:

buck run :packer