Skip to content

Commit

Permalink
Added swiftlint to the build phase.
Browse files Browse the repository at this point in the history
  • Loading branch information
sigito committed Dec 22, 2016
1 parent 0d611f6 commit cc3db66
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions Nimble.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -954,6 +954,7 @@
1F1A74251940169200FFFC47 /* Frameworks */,
1F1A74261940169200FFFC47 /* Headers */,
1F1A74271940169200FFFC47 /* Resources */,
36D948361E0C6F4E0088F9E9 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -993,6 +994,7 @@
1F5DF1511BDCA0CE00C3A531 /* Frameworks */,
1F5DF1521BDCA0CE00C3A531 /* Headers */,
1F5DF1531BDCA0CE00C3A531 /* Resources */,
36D948371E0C6F590088F9E9 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -1029,6 +1031,7 @@
1F925EA9195C0D6300ED456B /* Frameworks */,
1F925EAA195C0D6300ED456B /* Headers */,
1F925EAB195C0D6300ED456B /* Resources */,
36D948351E0C6F420088F9E9 /* ShellScript */,
);
buildRules = (
);
Expand Down Expand Up @@ -1165,6 +1168,48 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
36D948351E0C6F420088F9E9 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
};
36D948361E0C6F4E0088F9E9 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
};
36D948371E0C6F590088F9E9 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
1F1A74241940169200FFFC47 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down

0 comments on commit cc3db66

Please sign in to comment.