Skip to content

Commit

Permalink
only run linter in DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
mallexxx committed Apr 11, 2024
1 parent 4b513ea commit d407d18
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions DuckDuckGo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10196,7 +10196,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"$ENABLE_PREVIEWS\" = \"YES\" ]; then exit 0; fi\n${BUILT_PRODUCTS_DIR}/SwiftLintTool\n";
shellScript = "if [ \"$CONFIGURATION\" != \"DEBUG\" ] || [ \"$ENABLE_PREVIEWS\" = \"YES\" ]; then exit 0; fi\n${BUILT_PRODUCTS_DIR}/SwiftLintTool\n";
};
B6409DC52BC7BD1F00D66F9E /* Run swiftlint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -10215,7 +10215,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"$ENABLE_PREVIEWS\" = \"YES\" ]; then exit 0; fi\n${BUILT_PRODUCTS_DIR}/SwiftLintTool\n";
shellScript = "if [ \"$CONFIGURATION\" != \"DEBUG\" ] || [ \"$ENABLE_PREVIEWS\" = \"YES\" ]; then exit 0; fi\n${BUILT_PRODUCTS_DIR}/SwiftLintTool\n";
};
B6AEB5532BA3029B00781A09 /* Cleanup entitlements */ = {
isa = PBXShellScriptBuildPhase;
Expand Down Expand Up @@ -10272,7 +10272,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"$ENABLE_PREVIEWS\" = \"YES\" ]; then exit 0; fi\n${BUILT_PRODUCTS_DIR}/SwiftLintTool\n";
shellScript = "if [ \"$CONFIGURATION\" != \"DEBUG\" ] || [ \"$ENABLE_PREVIEWS\" = \"YES\" ]; then exit 0; fi\n${BUILT_PRODUCTS_DIR}/SwiftLintTool\n";
};
B6F2C8722A7A4C7D000498CF /* Make /Applications symlink, remove app on Clean build */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit d407d18

Please sign in to comment.