mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
fix(resources): first recursive resource support
However, this also means we need recursive builders, which is tottally unsupported for now ... . This means we have to generalize rbuild generation ... could be easy. Lets see
This commit is contained in:
@@ -5,7 +5,7 @@ api_base=${2:?Second argument must be the destination path to which to copy the
|
||||
|
||||
(cd ${repo_path} && git pull --ff-only) || exit $?
|
||||
|
||||
for json_path in `cd ${repo_path} && find . -type f -name "*-api.json"`; do
|
||||
for json_path in `cd ${repo_path} && find . -type f -name "*-api.json" -or -name "*-gen.go"`; do
|
||||
dest=${api_base}/`dirname ${json_path}`
|
||||
mkdir -p ${dest} || exit $?
|
||||
cp ${repo_path}/${json_path} ${dest} || exit $?
|
||||
|
||||
Reference in New Issue
Block a user