Skip to content

Commit

Permalink
Merge pull request #420 from Rightpoint/apple-silicon-swiftlint
Browse files Browse the repository at this point in the history
Add support for SwiftLint installed via Homebrew on Apple Silicon
  • Loading branch information
Jonathan Cole authored Jun 12, 2022
2 parents 2720aa2 + ebee0d5 commit ef663c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions BonMot.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CD4B2FCD1D9B0ADF007CF808 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1008,7 +1008,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CD4B2FCE1D9B0AF2007CF808 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1022,7 +1022,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CD4B2FCF1D9B0B12007CF808 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1036,7 +1036,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CD4B2FD01D9B0B1F007CF808 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1050,7 +1050,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CD4B2FD11D9B0B2E007CF808 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1064,7 +1064,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CD4B2FD21D9B0B3D007CF808 /* SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -1078,7 +1078,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "if [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
shellScript = "if [ -d /opt/homebrew/bin ]; then\n export PATH=\"$PATH:/opt/homebrew/bin\"\nfi\n\nif [ \"${CARTHAGE}\" == \"YES\" ]; then\n echo \"warning: Detected Carthage. Will not run SwiftLint\"\nelif which swiftlint >/dev/null; then\n swiftlint\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
CDC513361F36B1FA00EA1712 /* Build iOS example project */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit ef663c3

Please sign in to comment.