File tree Expand file tree Collapse file tree 3 files changed +15
-13
lines changed
QuickTableViewController.xcodeproj Expand file tree Collapse file tree 3 files changed +15
-13
lines changed Original file line number Diff line number Diff line change 922
922
);
923
923
runOnlyForDeploymentPostprocessing = 0;
924
924
shellPath = /bin/sh;
925
- shellScript = "";
925
+ shellScript = "sh scripts/swiftlint.sh\n ";
926
926
};
927
927
B51F21BB1F417269009BC2C9 /* SwiftLint */ = {
928
928
isa = PBXShellScriptBuildPhase;
936
936
);
937
937
runOnlyForDeploymentPostprocessing = 0;
938
938
shellPath = /bin/sh;
939
- shellScript = "";
939
+ shellScript = "sh scripts/swiftlint.sh\n ";
940
940
};
941
941
B54582FB212D7F89004376C8 /* SwiftLint */ = {
942
942
isa = PBXShellScriptBuildPhase;
950
950
);
951
951
runOnlyForDeploymentPostprocessing = 0;
952
952
shellPath = /bin/sh;
953
- shellScript = "";
953
+ shellScript = "sh scripts/swiftlint.sh\n ";
954
954
};
955
955
B5C335A91D07CBD000C706A4 /* Swift Lint */ = {
956
956
isa = PBXShellScriptBuildPhase;
964
964
);
965
965
runOnlyForDeploymentPostprocessing = 0;
966
966
shellPath = /bin/sh;
967
- shellScript = "";
967
+ shellScript = "sh scripts/swiftlint.sh\n ";
968
968
};
969
969
/* End PBXShellScriptBuildPhase section */
970
970
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ #! /bin/sh
2
+
3
+ export PATH=" $PATH :/opt/homebrew/bin"
4
+
5
+ if [ -n " $CI " ]; then
6
+ echo " CI=$CI , skip SwiftLint"
7
+ elif which mint > /dev/null; then
8
+ mint run realm/SwiftLint --fix && mint run realm/SwiftLint
9
+ else
10
+ echo " Install 'mint' (https://github.com/yonaskolb/Mint) to run SwiftLint"
11
+ fi
You can’t perform that action at this time.
0 commit comments