Skip to content

Commit

Permalink
Only run swift link if it's already installed
Browse files Browse the repository at this point in the history
  • Loading branch information
gmoledina committed Oct 19, 2016
1 parent c36591a commit 73b5cc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Taylor.xcodeproj/project.pbxproj
Expand Up @@ -297,7 +297,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"SwiftLint does not exist => Install it\"\n brew install swiftlint\n swiftlint\n\n if which swiftlint >/dev/null; then\n swiftlint\n else\n echo \"=========> Installation of SwiftLint has failed\"\n exit 1\n fi\nfi\n";
shellScript = "if which swiftlint >/dev/null; then\n swiftlint\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

0 comments on commit 73b5cc1

Please sign in to comment.