This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SWIFT_LINT=./Pods/SwiftLint/swiftlint | |
if [[ -e "${SWIFT_LINT}" ]]; then | |
# Export files in SCRIPT_INPUT_FILE_$count to lint against later | |
count=0 | |
while IFS= read -r file_path; do | |
export SCRIPT_INPUT_FILE_$count="$file_path" | |
count=$((count + 1)) |