Skip to content

Commit ac18d40

Browse files
committed
early exit run script phase on CI
1 parent c16ee49 commit ac18d40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TimeMachineStatus.xcodeproj/project.pbxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@
475475
);
476476
runOnlyForDeploymentPostprocessing = 0;
477477
shellPath = /bin/sh;
478-
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nif [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif which swiftlint > /dev/null; then\n if [[ $CI ]]; then\n echo \"Skipping SwiftLint (CI)\"\n else\n swiftlint\n fi\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
478+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nif [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif [[ $CI ]]; then\n echo \"Skipping SwiftLint (CI)\"\nelse\n if which swiftlint > /dev/null; then\n swiftlint\n else\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\n fi\nfi\n";
479479
};
480480
/* End PBXShellScriptBuildPhase section */
481481

0 commit comments

Comments
 (0)