Skip to content

Commit

Permalink
adding auto installation of swiftlint
Browse files Browse the repository at this point in the history
  • Loading branch information
alokc83 committed Mar 2, 2021
1 parent 946f7fa commit 1f63159
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MASegmentedControl.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\nswiftlint --config ./swiftlint.yml\nelse\necho \"Error: SwiftLint not installed!!! Read & download from https://github.com/realm/SwiftLint\"\nexit -1\nfi\n";
shellScript = "if which swiftlint >/dev/null; then\nswiftlint --config ./swiftlint.yml\n#swiftlint --config ./swiftlint.yml &>.swiftlintstat\n#cat .swiftlintstat| grep \"Done\" > swiftlint.stat\n#rm -f .swiftlintstat\nelse\necho \"Error: SwiftLint not installed!!! Read & download from https://github.com/realm/SwiftLint\"\nexit -1\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

Expand Down

0 comments on commit 1f63159

Please sign in to comment.