bring back tailor and swift lint scripts

This commit is contained in:
Ivan Smolin 2016-02-16 14:54:08 +03:00
parent db2b954d9f
commit 87a9a91df8
1 changed files with 33 additions and 2 deletions

View File

@ -204,7 +204,9 @@
78CFEE261C5C456B00F50370 /* Frameworks */,
78CFEE271C5C456B00F50370 /* Headers */,
78CFEE281C5C456B00F50370 /* Resources */,
78B0FC871C6B314B00358B64 /* ShellScript */,
78B0FC871C6B314B00358B64 /* Carthage copy-frameworks */,
782B1B3D1C7343CD003F8A95 /* Tailor */,
782B1B3E1C7343E0003F8A95 /* SwiftLint */,
);
buildRules = (
);
@ -287,7 +289,35 @@
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
78B0FC871C6B314B00358B64 /* ShellScript */ = {
782B1B3D1C7343CD003F8A95 /* Tailor */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = Tailor;
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if hash tailor 2>/dev/null; then\n tailor --except=trailing-whitespace,forced-type-cast\nelse\n echo \"warning: Please install Tailor from https://tailor.sh\"\nfi";
};
782B1B3E1C7343E0003F8A95 /* 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 \"SwiftLint does not exist, download from https://github.com/realm/SwiftLint\"\nfi";
};
78B0FC871C6B314B00358B64 /* Carthage copy-frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@ -296,6 +326,7 @@
"$(SRCROOT)/Carthage/Build/iOS/CocoaLumberjack.framework",
"$(SRCROOT)/Carthage/Build/iOS/CocoaLumberjackSwift.framework",
);
name = "Carthage copy-frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;