vendor the gyb dependency

This commit is contained in:
Jonathan Bennett 2019-11-27 14:06:32 -05:00
parent 69ebecaf40
commit a4f6adbd85
4 changed files with 1274 additions and 6 deletions

3
.gitignore vendored
View File

@ -69,4 +69,7 @@ fastlane/Preview.html
fastlane/screenshots
fastlane/test_output
/Shared/Secrets.swift
*.py[cod]

3
Vendor/gyb vendored Executable file
View File

@ -0,0 +1,3 @@
#!/usr/bin/env python2.7
import gyb
gyb.main()

1267
Vendor/gyb.py vendored Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,7 @@
#!/bin/bash
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";
./Vendor/gyb --line-directive '' -o "${file%.gyb}" "$file";
done