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 | |
function addFilesToLint { | |
filename="" | |
count=$2 | |
for item in $1 | |
do | |
if [[ $item == *".swift"* ]]; then | |
filename+="$item" | |
export SCRIPT_INPUT_FILE_$count="$filename" |