Skip to content

Commit

Permalink
Update dogfooding script
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryuichi Saito committed Jun 15, 2017
1 parent a50446e commit ebbcee6
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions dogFooding.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,18 @@ set -e

make

allFiles=""

for f in $(find . -regex "\.\/Sources.*\.swift")
do
echo $f
.build/debug/swift-lint $@ $f
allFiles="$allFiles $f"
done

for f in $(find . -regex "\.\/Tests.*\.swift")
do
echo $f
.build/debug/swift-lint $@ $f
allFiles="$allFiles $f"
done

echo "Package.swift"
.build/debug/swift-lint $@ Package.swift
allFiles="$allFiles Package.swift"

.build/debug/swift-lint $@ $allFiles

0 comments on commit ebbcee6

Please sign in to comment.