upgraded resty-cli to 0.15.

pull/214/head
Yichun Zhang (agentzh) 8 years ago
parent e254c3d0c1
commit e478681308

@ -505,7 +505,7 @@ mv openresty-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1
################################# #################################
ver=0.14 ver=0.15
$root/util/get-tarball "https://github.com/openresty/resty-cli/tarball/v$ver" -O resty-cli-$ver.tar.gz || exit 1 $root/util/get-tarball "https://github.com/openresty/resty-cli/tarball/v$ver" -O resty-cli-$ver.tar.gz || exit 1
tar -xzf resty-cli-$ver.tar.gz || exit 1 tar -xzf resty-cli-$ver.tar.gz || exit 1
mv openresty-resty-cli-* resty-cli-$ver || exit 1 mv openresty-resty-cli-* resty-cli-$ver || exit 1
@ -801,7 +801,7 @@ for indir in bundle/*/; do
if [ "$indir" == "bundle/nginx-$main_ver/" ]; then if [ "$indir" == "bundle/nginx-$main_ver/" ]; then
continue continue
fi fi
echo "$restydoc_index --outdir bundle $indir" echo "restydoc-index --outdir bundle $indir"
$restydoc_index --outdir $curdir/bundle $indir || exit 1 $restydoc_index --outdir $curdir/bundle $indir || exit 1
done done

Loading…
Cancel
Save