Skip to content

Commit

Permalink
Add config for server-windows
Browse files Browse the repository at this point in the history
Summary: Add a pack definition so we can allow browser-based Flipper on Windows.

Reviewed By: lblasa

Differential Revision: D53354115

fbshipit-source-id: 06bb107f22de9f24d36929bcf2e278948f36a7d0
  • Loading branch information
passy authored and facebook-github-bot committed Feb 2, 2024
1 parent 2f24aff commit c926a3a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ mod test {
fn test_included_packlist_parses() {
let res: PackList =
serde_yaml::from_str(DEFAULT_PACKLIST).expect("Default packlist doesn't deserialize");
assert_eq!(res.0.len(), 3);
assert_eq!(res.0.len(), 4);
}

#[test]
Expand Down
17 changes: 17 additions & 0 deletions packer/src/packlist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,20 @@ server-linux:
static:
- '!*'
- static

server-windows:
mode: glob
basedir: flipper-server-windows
files:
frameworks:
- '!*'
- flipper-runtime
- flipper.bat
core:
- '!flipper-runtime'
- '!static'
- '!lib'
static:
- '!*'
- static
- lib

0 comments on commit c926a3a

Please sign in to comment.