add swiftlint as Run Build Tool Plug-ins, to run each compile in Xcode
This commit is contained in:
@@ -92,6 +92,7 @@
|
||||
buildRules = (
|
||||
);
|
||||
dependencies = (
|
||||
9ADE6C2D300AC4670071D8E9 /* PBXTargetDependency */,
|
||||
);
|
||||
name = ImageViewer;
|
||||
productName = ImageViewer;
|
||||
@@ -125,6 +126,7 @@
|
||||
packageReferences = (
|
||||
9A77032A300317E4004A0222 /* XCRemoteSwiftPackageReference "ZIPFoundation" */,
|
||||
9A77032D30031A32004A0222 /* XCLocalSwiftPackageReference "dependencies/flatbuffers" */,
|
||||
9ADE6C29300AC4480071D8E9 /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */,
|
||||
);
|
||||
productRefGroup = 840F62662E7B65B700C8A64A /* Products */;
|
||||
projectDirPath = "";
|
||||
@@ -160,6 +162,13 @@
|
||||
};
|
||||
/* End PBXSourcesBuildPhase section */
|
||||
|
||||
/* Begin PBXTargetDependency section */
|
||||
9ADE6C2D300AC4670071D8E9 /* PBXTargetDependency */ = {
|
||||
isa = PBXTargetDependency;
|
||||
productRef = 9ADE6C2C300AC4670071D8E9 /* SwiftLintBuildToolPlugin */;
|
||||
};
|
||||
/* End PBXTargetDependency section */
|
||||
|
||||
/* Begin XCBuildConfiguration section */
|
||||
840F62772E7B65B900C8A64A /* Debug */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
@@ -293,8 +302,8 @@
|
||||
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace = YES;
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UILaunchStoryboardName = "Launch Screen";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
@@ -320,8 +329,8 @@
|
||||
INFOPLIST_KEY_LSSupportsOpeningDocumentsInPlace = YES;
|
||||
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
|
||||
INFOPLIST_KEY_UILaunchScreen_Generation = YES;
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
|
||||
INFOPLIST_KEY_UILaunchStoryboardName = "Launch Screen";
|
||||
INFOPLIST_KEY_UISupportedInterfaceOrientations = "UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
@@ -374,6 +383,14 @@
|
||||
minimumVersion = 0.9.20;
|
||||
};
|
||||
};
|
||||
9ADE6C29300AC4480071D8E9 /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */ = {
|
||||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/SimplyDanny/SwiftLintPlugins";
|
||||
requirement = {
|
||||
kind = upToNextMajorVersion;
|
||||
minimumVersion = 0.65.0;
|
||||
};
|
||||
};
|
||||
/* End XCRemoteSwiftPackageReference section */
|
||||
|
||||
/* Begin XCSwiftPackageProductDependency section */
|
||||
@@ -406,6 +423,11 @@
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
productName = FlexBuffers;
|
||||
};
|
||||
9ADE6C2C300AC4670071D8E9 /* SwiftLintBuildToolPlugin */ = {
|
||||
isa = XCSwiftPackageProductDependency;
|
||||
package = 9ADE6C29300AC4480071D8E9 /* XCRemoteSwiftPackageReference "SwiftLintPlugins" */;
|
||||
productName = "plugin:SwiftLintBuildToolPlugin";
|
||||
};
|
||||
/* End XCSwiftPackageProductDependency section */
|
||||
};
|
||||
rootObject = 840F625D2E7B65B700C8A64A /* Project object */;
|
||||
|
||||
Reference in New Issue
Block a user