Skip to content

Commit 39d61a8

Browse files
committed
Use -e in SwiftLint script build phase
1 parent a79e418 commit 39d61a8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

SwiftGen.xcodeproj/project.pbxproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,8 +1148,9 @@
11481148
outputPaths = (
11491149
);
11501150
runOnlyForDeploymentPostprocessing = 0;
1151-
shellPath = /bin/sh;
1152-
shellScript = "if [[ ! $CI && ! $NO_CODE_LINT ]]; then\n \"$SRCROOT/Scripts/SwiftLint.sh\" \"swiftgen_sources\"\nfi";
1151+
shellPath = "/bin/sh -e";
1152+
shellScript = "if [[ ! $CI && ! $NO_CODE_LINT ]]; then\n \"$SRCROOT/Scripts/SwiftLint.sh\" \"swiftgen_sources\"\nfi\n";
1153+
showEnvVarsInLog = 0;
11531154
};
11541155
2C9D66D627FB898D3DA8D22E /* [CP] Embed Pods Frameworks */ = {
11551156
isa = PBXShellScriptBuildPhase;
@@ -1340,8 +1341,9 @@
13401341
outputPaths = (
13411342
);
13421343
runOnlyForDeploymentPostprocessing = 0;
1343-
shellPath = /bin/sh;
1344+
shellPath = "/bin/sh -e";
13441345
shellScript = "if [[ ! $CI && ! $NO_CODE_LINT ]]; then\n \"$SRCROOT/Scripts/SwiftLint.sh\" \"swiftgenkit_sources\"\nfi\n";
1346+
showEnvVarsInLog = 0;
13451347
};
13461348
DD9F4766206ADC4C006B0DCA /* ⚠️ SwiftLint */ = {
13471349
isa = PBXShellScriptBuildPhase;

0 commit comments

Comments
 (0)