Skip to content

Commit 8b1110e

Browse files
committed
bring shell script one place swift-format lint
1 parent 8046844 commit 8b1110e

File tree

1 file changed

+1
-20
lines changed

1 file changed

+1
-20
lines changed

Addame.xcodeproj/project.pbxproj

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,6 @@
106106
C3E50C99261B5DFA00285977 /* Frameworks */,
107107
C3E50C9A261B5DFA00285977 /* Resources */,
108108
C36C678E26E3FC9A007CC94D /* swift-format */,
109-
C36C678F26E3FCD7007CC94D /* swift-format-lint */,
110109
);
111110
buildRules = (
112111
);
@@ -181,25 +180,7 @@
181180
);
182181
runOnlyForDeploymentPostprocessing = 0;
183182
shellPath = /bin/sh;
184-
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nif which swift-format >/dev/null; then\n swift-format -m format -i -r ${PROJECT_DIR}\nelse\n echo \"warning: swift-format not installed\"\nfi\n";
185-
};
186-
C36C678F26E3FCD7007CC94D /* swift-format-lint */ = {
187-
isa = PBXShellScriptBuildPhase;
188-
buildActionMask = 2147483647;
189-
files = (
190-
);
191-
inputFileListPaths = (
192-
);
193-
inputPaths = (
194-
);
195-
name = "swift-format-lint";
196-
outputFileListPaths = (
197-
);
198-
outputPaths = (
199-
);
200-
runOnlyForDeploymentPostprocessing = 0;
201-
shellPath = /bin/sh;
202-
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n\nif which swift-format >/dev/null; then\n swift-format -m lint -r ${PROJECT_DIR}\n exit 0\nelse\n echo \"warning: swift-format not installed\"\nfi\n";
183+
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nif which swift-format >/dev/null; then\n #swift-format -m format -i -r ${PROJECT_DIR}\n #swift-format -m lint -r ${PROJECT_DIR}\nelse\n echo \"warning: swift-format not installed\"\nfi\n";
203184
};
204185
/* End PBXShellScriptBuildPhase section */
205186

0 commit comments

Comments
 (0)