Use SwiftPackageList to generate acknowledgements. (#3117)

This commit is contained in:
Doug
2024-08-06 12:39:37 +01:00
committed by GitHub
parent 11285f3a55
commit 8a8f1fdf2c
66 changed files with 3659 additions and 3 deletions

View File

@@ -9,4 +9,10 @@ then
exit 1
fi
swift-package-list ElementX.xcodeproj --requires-license --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
fi
./Tools/Scripts/validate_lfs.sh