- shellScript = "# Don't run this during index builds \nif [ $ACTION = \"indexbuild\" ]; then echo 'Index build detected.'; exit 0; fi\n\n# Don't run this during CI builds.\nif [ $CI = 'TRUE' ]; then echo 'CI detected.'; exit 0; fi\n\n# Don't run during SwiftUI previews, to prevent `Preview paused`.\nif [ $ENABLE_PREVIEWS = 'YES' ]; then echo 'Preview detected.'; exit 0; fi\n\nexport PATH=\"$PATH:/opt/homebrew/bin\" # Adds support for Apple Silicon brew directory.\nif mint which swiftlint; then\n mint run swiftlint $(sed \"s|\\$(SRCROOT)|$SRCROOT|g\" $SCRIPT_INPUT_FILE_LIST_0)\nelse\n echo 'warning: SwiftLint not installed, please run ´bundle exec fastlane setup´ to install it via brew.'\nfi\n";
0 commit comments