Skip to content

Commit

Permalink
Ignore Compound and RTE from license acknowledgements. (#3661)
Browse files Browse the repository at this point in the history
These all come from element-hq so aren't third-party licenses to us.
  • Loading branch information
pixlwave authored Jan 6, 2025
1 parent 75c8507 commit 307a593
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1,593 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ then
exit 1
fi

swift-package-list ElementX.xcodeproj --requires-license --output-type settings-bundle --output-path ElementX/SupportingFiles
swift-package-list ElementX.xcodeproj --requires-license --ignore-package compound-ios --ignore-package compound-design-tokens --ignore-package matrix-rich-text-editor-swift --output-type settings-bundle --output-path ElementX/SupportingFiles
if ! git diff --quiet -- ./ElementX/SupportingFiles/Settings.bundle || [ -n "$(git ls-files --others --exclude-standard -- ./ElementX/SupportingFiles/Settings.bundle)" ]; then
echo "pre-commit: Commit aborted due to unstaged changes to the package Acknowledgements."
exit 1
Expand Down
24 changes: 0 additions & 24 deletions ElementX/SupportingFiles/Settings.bundle/Acknowledgements.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,6 @@
<key>Type</key>
<string>PSGroupSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/compound-design-tokens</string>
<key>Title</key>
<string>compound-design-tokens</string>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/compound-ios</string>
<key>Title</key>
<string>compound-ios</string>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/DeviceKit</string>
Expand Down Expand Up @@ -130,14 +114,6 @@
<key>Type</key>
<string>PSChildPaneSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/matrix-rich-text-editor-swift</string>
<key>Title</key>
<string>matrix-rich-text-editor-swift</string>
<key>Type</key>
<string>PSChildPaneSpecifier</string>
</dict>
<dict>
<key>File</key>
<string>Packages/matrix-rust-components-swift</string>
Expand Down

This file was deleted.

Loading

0 comments on commit 307a593

Please sign in to comment.