Ignore Compound and RTE from license acknowledgements. (#3661)

These all come from element-hq so aren't third-party licenses to us.
This commit is contained in:
Doug
2025-01-06 11:36:20 +00:00
committed by GitHub
parent 7376e3cc01
commit 180d622353
5 changed files with 1 additions and 1593 deletions

View File

@@ -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