Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Lint on Build (Xcode) #573

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions xcode/Subconscious/Subconscious.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,7 @@
isa = PBXNativeTarget;
buildConfigurationList = B8EB2A2926F27797006E97C3 /* Build configuration list for PBXNativeTarget "Subconscious (iOS)" */;
buildPhases = (
B5F83B092A034A43005C80B3 /* ShellScript */,
B8EB29F726F27797006E97C3 /* Sources */,
B8EB29F826F27797006E97C3 /* Frameworks */,
B8EB29F926F27797006E97C3 /* Resources */,
Expand Down Expand Up @@ -1518,6 +1519,26 @@
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
B5F83B092A034A43005C80B3 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [[ \"$(uname -m)\" == arm64 ]]; then\n export PATH=\"/opt/homebrew/bin:$PATH\"\nfi\n\nif which swiftlint >/dev/null; then\n cd ../..\n swiftlint\nelse\n echo \"warning: could not locate swiftlint\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
B80057E427DC355E002C0129 /* Sources */ = {
isa = PBXSourcesBuildPhase;
Expand Down