blob: 3d209d3e47197b2b05e1f96c7a4cbdd54b12c4a8 [file] [log] [blame]
# bash-3.2$ git diff --name-only HEAD HEAD~5 | cut -d / -f 1,2,3,4,5
#
# Specs/0/f/b/DateTimePicker
# Specs/1/9/4/Font
# Specs/5/2/f/AlivcConan
# Specs/6/3/5/BugBattle
# Specs/e/a/1/SliceControl
# Gets the last 5 commits, and passes in the folders that host those podspecs
# then parse the
git diff --name-only HEAD HEAD~5 | cut -d / -f 1,2,3,4,5 | \
xargs -0 -I {} bash -c 'cd "{}"; ls -1 | grep -v "index.txt" > index.txt'
# Loops through all known Podspec folders and pipes their name into a single all_pods.txt
# in the root.
find . -mindepth 5 -maxdepth 5 -type d -not -wholename '**/.git/**/*' | \
cut -c15- | sort > all_pods.txt