Skip to content

Commit

Permalink
apply SwiftLint
Browse files Browse the repository at this point in the history
  • Loading branch information
nerd0geek1 committed Mar 24, 2016
1 parent 5ad535f commit 01d0216
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions .swiftlint.yml
@@ -0,0 +1 @@
line_length: 150
18 changes: 18 additions & 0 deletions NSPageControl.xcodeproj/project.pbxproj
Expand Up @@ -74,6 +74,7 @@
736850A91CA40F1C00E2FEA0 /* Frameworks */,
736850AA1CA40F1C00E2FEA0 /* Headers */,
736850AB1CA40F1C00E2FEA0 /* Resources */,
736850B81CA40FDE00E2FEA0 /* SwiftLint */,
);
buildRules = (
);
Expand Down Expand Up @@ -125,6 +126,23 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
736850B81CA40FDE00E2FEA0 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = SwiftLint;
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 */
736850A81CA40F1C00E2FEA0 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down

0 comments on commit 01d0216

Please sign in to comment.