2019-11-26 14:58:16 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-11-27 17:40:24 +01:00
|
|
|
if [ ! $(type -P "gyb") ]; then
|
|
|
|
echo "gyb not installed. Install via: brew install nshipster/formulae/gyb"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
find . -name '*.gyb' |
|
|
|
|
while read file; do
|
|
|
|
echo "running ${file%.gyb}";
|
|
|
|
gyb --line-directive '' -o "${file%.gyb}" "$file";
|
2019-11-26 14:58:16 +01:00
|
|
|
done
|