Swiftformat on build (#942)
This commit is contained in:
parent
3b59bed413
commit
552260e25e
|
@ -740,15 +740,6 @@
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXCopyFilesBuildPhase section */
|
/* Begin PBXCopyFilesBuildPhase section */
|
||||||
5302F8322658B74800647A2E /* CopyFiles */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = "";
|
|
||||||
dstSubfolderSpec = 7;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
62666DF927E5012C00EC0ECD /* Embed Frameworks */ = {
|
62666DF927E5012C00EC0ECD /* Embed Frameworks */ = {
|
||||||
isa = PBXCopyFilesBuildPhase;
|
isa = PBXCopyFilesBuildPhase;
|
||||||
buildActionMask = 12;
|
buildActionMask = 12;
|
||||||
|
@ -771,16 +762,6 @@
|
||||||
name = "Embed Frameworks";
|
name = "Embed Frameworks";
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
628B95312670CABE0091AF3B /* Embed Foundation Extensions */ = {
|
|
||||||
isa = PBXCopyFilesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
dstPath = "";
|
|
||||||
dstSubfolderSpec = 13;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
name = "Embed Foundation Extensions";
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXCopyFilesBuildPhase section */
|
/* End PBXCopyFilesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
@ -2819,7 +2800,8 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 535870712669D21700D05A09 /* Build configuration list for PBXNativeTarget "Swiftfin tvOS" */;
|
buildConfigurationList = 535870712669D21700D05A09 /* Build configuration list for PBXNativeTarget "Swiftfin tvOS" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
6286F0A3271C0ABA00C40ED5 /* R.swift */,
|
6286F0A3271C0ABA00C40ED5 /* Run Swiftgen.swift */,
|
||||||
|
BD83D7852B55EEB600652C24 /* Run SwiftFormat */,
|
||||||
5358705C2669D21600D05A09 /* Sources */,
|
5358705C2669D21600D05A09 /* Sources */,
|
||||||
5358705D2669D21600D05A09 /* Frameworks */,
|
5358705D2669D21600D05A09 /* Frameworks */,
|
||||||
5358705E2669D21600D05A09 /* Resources */,
|
5358705E2669D21600D05A09 /* Resources */,
|
||||||
|
@ -2860,12 +2842,11 @@
|
||||||
isa = PBXNativeTarget;
|
isa = PBXNativeTarget;
|
||||||
buildConfigurationList = 5377CC1B263B596B003A4E83 /* Build configuration list for PBXNativeTarget "Swiftfin iOS" */;
|
buildConfigurationList = 5377CC1B263B596B003A4E83 /* Build configuration list for PBXNativeTarget "Swiftfin iOS" */;
|
||||||
buildPhases = (
|
buildPhases = (
|
||||||
6286F09E271C093000C40ED5 /* R.swift */,
|
6286F09E271C093000C40ED5 /* Run Swiftgen.swift */,
|
||||||
|
BD0BA2282AD64BB200306A8D /* Run SwiftFormat */,
|
||||||
5377CBED263B596A003A4E83 /* Sources */,
|
5377CBED263B596A003A4E83 /* Sources */,
|
||||||
5377CBEE263B596A003A4E83 /* Frameworks */,
|
5377CBEE263B596A003A4E83 /* Frameworks */,
|
||||||
5377CBEF263B596A003A4E83 /* Resources */,
|
5377CBEF263B596A003A4E83 /* Resources */,
|
||||||
5302F8322658B74800647A2E /* CopyFiles */,
|
|
||||||
628B95312670CABE0091AF3B /* Embed Foundation Extensions */,
|
|
||||||
62666DF927E5012C00EC0ECD /* Embed Frameworks */,
|
62666DF927E5012C00EC0ECD /* Embed Frameworks */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
|
@ -3027,7 +3008,7 @@
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
6286F09E271C093000C40ED5 /* R.swift */ = {
|
6286F09E271C093000C40ED5 /* Run Swiftgen.swift */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
alwaysOutOfDate = 1;
|
alwaysOutOfDate = 1;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
@ -3037,7 +3018,7 @@
|
||||||
);
|
);
|
||||||
inputPaths = (
|
inputPaths = (
|
||||||
);
|
);
|
||||||
name = R.swift;
|
name = "Run Swiftgen.swift";
|
||||||
outputFileListPaths = (
|
outputFileListPaths = (
|
||||||
);
|
);
|
||||||
outputPaths = (
|
outputPaths = (
|
||||||
|
@ -3046,7 +3027,7 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew Swiftgen installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\nif which swiftgen >/dev/null; then\n swiftgen\nelse\n echo \"error: SwiftGen not installed, check contributing.md for installation instructions.\"\n return 1\nfi\n";
|
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew Swiftgen installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\nif which swiftgen >/dev/null; then\n swiftgen\nelse\n echo \"error: SwiftGen not installed, check contributing.md for installation instructions.\"\n return 1\nfi\n";
|
||||||
};
|
};
|
||||||
6286F0A3271C0ABA00C40ED5 /* R.swift */ = {
|
6286F0A3271C0ABA00C40ED5 /* Run Swiftgen.swift */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
alwaysOutOfDate = 1;
|
alwaysOutOfDate = 1;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
@ -3056,7 +3037,7 @@
|
||||||
);
|
);
|
||||||
inputPaths = (
|
inputPaths = (
|
||||||
);
|
);
|
||||||
name = R.swift;
|
name = "Run Swiftgen.swift";
|
||||||
outputFileListPaths = (
|
outputFileListPaths = (
|
||||||
);
|
);
|
||||||
outputPaths = (
|
outputPaths = (
|
||||||
|
@ -3065,6 +3046,44 @@
|
||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew Swiftgen installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\nif which swiftgen >/dev/null; then\n swiftgen\nelse\n echo \"error: SwiftGen not installed, check contributing.md for installation instructions.\"\n return 1\nfi\n";
|
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew Swiftgen installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\nif which swiftgen >/dev/null; then\n swiftgen\nelse\n echo \"error: SwiftGen not installed, check contributing.md for installation instructions.\"\n return 1\nfi\n";
|
||||||
};
|
};
|
||||||
|
BD0BA2282AD64BB200306A8D /* Run SwiftFormat */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
alwaysOutOfDate = 1;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Run SwiftFormat";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew SwiftFormat installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\n# Skip phase if the action is not build (ie. analyze, archive, etc).\nif [ \"$ACTION\" != \"build\" ]; then\n exit 0\nfi\n\nif which swiftformat >/dev/null; then\n swiftformat .\nelse\n echo \"error: SwiftFormat not installed, check contributing.md for installation instructions.\"\nfi\n";
|
||||||
|
};
|
||||||
|
BD83D7852B55EEB600652C24 /* Run SwiftFormat */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
alwaysOutOfDate = 1;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Run SwiftFormat";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "# Add Homebrew to the path to support Apple Silicon Homebrew SwiftFormat installations\nexport PATH=\"$PATH:/opt/homebrew/bin\" \n\n# Skip phase if the action is not build (ie. analyze, archive, etc).\nif [ \"$ACTION\" != \"build\" ]; then\n exit 0\nfi\n\nif which swiftformat >/dev/null; then\n swiftformat .\nelse\n echo \"error: SwiftFormat not installed, check contributing.md for installation instructions.\"\nfi\n";
|
||||||
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
|
|
Loading…
Reference in New Issue