Skip to content

Commit

Permalink
early exit run script phase on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lukepistrol committed Oct 5, 2024
1 parent c16ee49 commit ac18d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TimeMachineStatus.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
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";
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";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

0 comments on commit ac18d40

Please sign in to comment.