Skip to content

Commit

Permalink
Prevent running SwiftLint on Carthage builds
Browse files Browse the repository at this point in the history
  • Loading branch information
wessmith committed Sep 11, 2018
1 parent 58c359f commit 4093f4b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ButtonMerchant.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
shellScript = "if [ -z \"$CI\" && -z \"$CARTHAGE\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
};
DA0FA2C82062EF38008296A6 /* Swift Lint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -870,7 +870,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
shellScript = "if [ -z \"$CI\" ] && [ ! \"$CARTHAGE\" ]; then\n \"Pods/SwiftLint/swiftlint\"\nfi";
};
DE0E7C29209B7F38001A5EE0 /* Environment Vars */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -914,7 +914,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
shellScript = "if [ -z \"$CI\" ] && [ ! \"$CARTHAGE\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
};
DECF9F28206B01F0009F3930 /* Swift Lint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -928,7 +928,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ -z \"$CI\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
shellScript = "if [ -z \"$CI\" ] && [ ! \"$CARTHAGE\" ]; then\n \"${PODS_ROOT}/SwiftLint/swiftlint\"\nfi";
};
E8730FA8780FE86FBE23AF57 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit 4093f4b

Please sign in to comment.