Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 22 lines (14 sloc) 279 Bytes
#!/bin/bash
set -e
make
allFiles=""
for f in $(find . -regex "\.\/Sources.*\.swift")
do
allFiles="$allFiles $f"
done
for f in $(find . -regex "\.\/Tests.*\.swift")
do
allFiles="$allFiles $f"
done
allFiles="$allFiles Package.swift"
.build/debug/swift-lint $@ $allFiles