Skip to content

Commit

Permalink
Initial packer project
Browse files Browse the repository at this point in the history
Summary:
This is a tool (right now more a script, really) for splitting a Flipper distribution into smaller chunks that can be individually cached, hashed and downloaded. It's incomplete but can already bundle up Mac apps into smaller chunks that can be merged back again into one app.

It takes a config file that specifies how to slice the inputs up and comes with a default copy bundled in. That's in line with the general "design" where it tries to make the right assumptions, for instance defaulting to the normal dist output directory.

Reviewed By: jknoxville

Differential Revision: D21302551

fbshipit-source-id: b22670ff4825ce526dd0f20320f87080c058cd93
  • Loading branch information
passy authored and facebook-github-bot committed May 1, 2020
1 parent de5147a commit 155a8c6
Show file tree
Hide file tree
Showing 8 changed files with 695 additions and 0 deletions.
1 change: 1 addition & 0 deletions packer/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
379 changes: 379 additions & 0 deletions packer/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions packer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[package]
name = "flipper-packer"
version = "0.1.0"
authors = ["Facebook, Inc."]
edition = "2018"

[dependencies]
clap = "2.33.0"
shellexpand = "2.0.0"
tar = "0.4.26"
serde = { version = "1.0.106", features = ["derive"] }
serde_yaml = "0.8.11"
Loading

0 comments on commit 155a8c6

Please sign in to comment.