Skip to content

Commit 35341cf

Browse files
committed
Add a 'Run SwiftLint autocorrect' build phase to the build targets.
1 parent 943fb4f commit 35341cf

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

PusherSwift.xcodeproj/project.pbxproj

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@
358358
33831C861A9CF61600B124F1 /* Headers */,
359359
33831C871A9CF61600B124F1 /* Resources */,
360360
50355EA8A07B4B8038A4DDF1 /* Frameworks */,
361+
5333AD0A24FE4A8C006E8DF0 /* Run SwiftLint autocorrect */,
361362
5333AD0824F928F1006E8DF0 /* Run SwiftLint */,
362363
);
363364
buildRules = (
@@ -397,6 +398,7 @@
397398
73D8A1F72435E5F3001FDE05 /* Headers */,
398399
73D8A1F92435E5F3001FDE05 /* Resources */,
399400
73D8A1FA2435E5F3001FDE05 /* Frameworks */,
401+
5333AD0B24FE4AAC006E8DF0 /* Run SwiftLint autocorrect */,
400402
5333AD0924F92916006E8DF0 /* Run SwiftLint */,
401403
);
402404
buildRules = (
@@ -558,6 +560,42 @@
558560
shellPath = /bin/sh;
559561
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
560562
};
563+
5333AD0A24FE4A8C006E8DF0 /* Run SwiftLint autocorrect */ = {
564+
isa = PBXShellScriptBuildPhase;
565+
buildActionMask = 2147483647;
566+
files = (
567+
);
568+
inputFileListPaths = (
569+
);
570+
inputPaths = (
571+
);
572+
name = "Run SwiftLint autocorrect";
573+
outputFileListPaths = (
574+
);
575+
outputPaths = (
576+
);
577+
runOnlyForDeploymentPostprocessing = 0;
578+
shellPath = /bin/sh;
579+
shellScript = "if which swiftlint >/dev/null; then\n swiftlint autocorrect\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
580+
};
581+
5333AD0B24FE4AAC006E8DF0 /* Run SwiftLint autocorrect */ = {
582+
isa = PBXShellScriptBuildPhase;
583+
buildActionMask = 2147483647;
584+
files = (
585+
);
586+
inputFileListPaths = (
587+
);
588+
inputPaths = (
589+
);
590+
name = "Run SwiftLint autocorrect";
591+
outputFileListPaths = (
592+
);
593+
outputPaths = (
594+
);
595+
runOnlyForDeploymentPostprocessing = 0;
596+
shellPath = /bin/sh;
597+
shellScript = "if which swiftlint >/dev/null; then\n swiftlint autocorrect\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
598+
};
561599
73D8A2222435F24E001FDE05 /* Copy Carthage Frameworks */ = {
562600
isa = PBXShellScriptBuildPhase;
563601
buildActionMask = 2147483647;

0 commit comments

Comments
 (0)