mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00

* Deleted project file * Add back SPM Package.resolved + .gitignore * Generate project file on release builds * Converge on single CI setup scripts within `ci_scripts/ci_common.sh` * Fix unit tests * Use new `ci_common/setup_github_actions_environment` setup script on all workflows * Move lfs validation check to the pre-commit hooks. Remove validate-lfs github actions workflow * Fix integration tests workflow * Tweaks following code review
12 lines
303 B
Bash
Executable File
12 lines
303 B
Bash
Executable File
#!/bin/bash
|
|
|
|
export PATH="$PATH:/opt/homebrew/bin"
|
|
|
|
if ! swiftformat --lint . > /dev/null 2>&1
|
|
then
|
|
echo "pre-commit: Commit aborted due to SwiftFormat warnings. Please check the automatically generated fixes and try again"
|
|
swiftformat . > /dev/null 2>&1
|
|
exit 1
|
|
fi
|
|
|
|
./Tools/Scripts/validate_lfs.sh |