Files
flipper/packer
Pascal Hartig 911c3e297c Fix lints (#1716)
Summary:
Fix a lint that's currently failing.
See https://github.com/facebook/flipper/runs/1449249447?check_suite_focus=true

Pull Request resolved: https://github.com/facebook/flipper/pull/1716

Test Plan: cargo clippy succeeds now.

Reviewed By: nikoant

Differential Revision: D25170963

Pulled By: passy

fbshipit-source-id: 658f8b6abaef9860be9ff07447d2354727acb7c7
2020-11-27 04:10:09 -08:00
..
2020-11-27 04:10:09 -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