From 87a9a91df8044bb2131ea44dc4ae9abe0ec50b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD=20=D0=A1=D0=BC=D0=BE=D0=BB=D0=B8?= =?UTF-8?q?=D0=BD?= Date: Tue, 16 Feb 2016 14:54:08 +0300 Subject: [PATCH] bring back tailor and swift lint scripts --- LeadKit/LeadKit.xcodeproj/project.pbxproj | 35 +++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) diff --git a/LeadKit/LeadKit.xcodeproj/project.pbxproj b/LeadKit/LeadKit.xcodeproj/project.pbxproj index 53ff7da8..969d25e9 100644 --- a/LeadKit/LeadKit.xcodeproj/project.pbxproj +++ b/LeadKit/LeadKit.xcodeproj/project.pbxproj @@ -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;