From 29938c949bf9daebb46731cf5ed430661b828a14 Mon Sep 17 00:00:00 2001 From: kakcy <43775118+kakcy@users.noreply.github.com> Date: Thu, 30 Nov 2023 14:47:50 +0900 Subject: [PATCH] build: change Swiftlint not running when Carthage builds (#54) --- Bucketeer.xcodeproj/project.pbxproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bucketeer.xcodeproj/project.pbxproj b/Bucketeer.xcodeproj/project.pbxproj index f737799..56aeda3 100644 --- a/Bucketeer.xcodeproj/project.pbxproj +++ b/Bucketeer.xcodeproj/project.pbxproj @@ -1075,7 +1075,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "#Run this script if not in a CI environment.\nif [ -n $CI ] && [ $CI = \"true\" ]; then\n echo \"Run this script if not in a CI environment.\"\n exit 0\nfi\n\n#Workaround: Add Homebrew Path for M1 Mac.\nif [ $(uname -m) = \"arm64\" ]; then\n export PATH=\"/opt/homebrew/bin:/opt/homebrew/sbin:${PATH+:$PATH}\";\nfi\n\nif which mint >/dev/null; then\n make run-lint\nelse\n echo \"Warning: Mint is not installed. Please run make install-mint.\"\nfi\n"; + shellScript = "#Run this script if not in a CI environment or Carthage build.\nif [ -n $CI ] && [ \"$CI\" = \"true\" ]; then\n echo \"Run this script if not in a CI environment.\"\n exit 0\nelif [ -n \"$CARTHAGE\" ]; then\n echo \"Run this script if not in Carthage build.\"\n exit 0\nfi\n\n#Workaround: Add Homebrew Path for M1 Mac.\nif [ $(uname -m) = \"arm64\" ]; then\n export PATH=\"/opt/homebrew/bin:/opt/homebrew/sbin:${PATH+:$PATH}\";\nfi\n\nif which mint >/dev/null; then\n make run-lint\nelse\n echo \"Warning: Mint is not installed. Please run make install-mint.\"\nfi\n"; }; /* End PBXShellScriptBuildPhase section */