1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-21 18:09:21 +03:00

Add SwiftLint to macOS target

This commit is contained in:
shipinev 2017-10-19 14:38:29 +07:00
parent a0407ea18e
commit bc02ad310d

View File

@ -905,6 +905,7 @@
57614B731F83D15600875933 /* Headers */,
57614B741F83D15600875933 /* Resources */,
57614B751F83D15600875933 /* CopyFiles */,
665742FC1F988D93006612C6 /* ShellScript */,
);
buildRules = (
);
@ -1034,6 +1035,19 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
665742FC1F988D93006612C6 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if which swiftlint >/dev/null; then\n swiftlint autocorrect --format\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
};
669D360B1F8F9B4C0048EF8B /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;