Set up infra for different packing mode

Summary:
Electron 12 broke packing again because one file was renamed. I'm now setting up a separate mode for using globs and ignores to create artifact bundles. This will work like a reverse gitignore file. However, to keep the logic simple, I'll keep the old mode for MacOS where the folder structure lends itself to comprehensive, exact lists.

**This doesn't actually change anything just yet apart from the "packfile" format. The next diff will add the new packing mode. Feedback is always welcome but there's no need for super close scrutiny.**

Reviewed By: mweststrate

Differential Revision: D27191506

fbshipit-source-id: 663cef8b93eef6c2dbb56ef66de51ea9551412dd
This commit is contained in:
Pascal Hartig
2021-03-23 13:26:31 -07:00
committed by Facebook GitHub Bot
parent 94e85b54c8
commit ca55e68c89
3 changed files with 93 additions and 57 deletions

View File

@@ -1,50 +1,56 @@
mac:
frameworks:
- Flipper.app/Contents/Frameworks/
- Flipper.app/Contents/MacOS
- Flipper.app/Contents/PkgInfo
core:
- Flipper.app/Contents/Resources
- Flipper.app/Contents/Info.plist
mode: exact
files:
frameworks:
- Flipper.app/Contents/Frameworks/
- Flipper.app/Contents/MacOS
- Flipper.app/Contents/PkgInfo
core:
- Flipper.app/Contents/Resources
- Flipper.app/Contents/Info.plist
linux:
frameworks:
- chrome-sandbox
- chrome_100_percent.pak
- chrome_200_percent.pak
- flipper
- icudtl.dat
- libEGL.so
- libffmpeg.so
- libGLESv2.so
- libvk_swiftshader.so
- libvulkan.so.1
- locales
- resources.pak
- snapshot_blob.bin
- swiftshader
- v8_context_snapshot.bin
- vk_swiftshader_icd.json
core:
- resources
mode: exact
files:
frameworks:
- chrome-sandbox
- chrome_100_percent.pak
- chrome_200_percent.pak
- flipper
- icudtl.dat
- libEGL.so
- libffmpeg.so
- libGLESv2.so
- libvk_swiftshader.so
- libvulkan.so.1
- locales
- resources.pak
- snapshot_blob.bin
- swiftshader
- v8_context_snapshot.bin
- vk_swiftshader_icd.json
core:
- resources
windows:
frameworks:
- chrome_100_percent.pak
- chrome_200_percent.pak
- d3dcompiler_47.dll
- ffmpeg.dll
- Flipper.exe
- icudtl.dat
- libEGL.dll
- libGLESv2.dll
- locales
- resources.pak
- snapshot_blob.bin
- swiftshader
- v8_context_snapshot.bin
- vk_swiftshader.dll
- vk_swiftshader_icd.json
- vulkan-1.dll
core:
- resources
mode: exact
files:
frameworks:
- chrome_100_percent.pak
- chrome_200_percent.pak
- d3dcompiler_47.dll
- ffmpeg.dll
- Flipper.exe
- icudtl.dat
- libEGL.dll
- libGLESv2.dll
- locales
- resources.pak
- snapshot_blob.bin
- swiftshader
- v8_context_snapshot.bin
- vk_swiftshader.dll
- vk_swiftshader_icd.json
- vulkan-1.dll
core:
- resources