1
0
mirror of https://github.com/openresty/openresty synced 2024-11-09 18:35:51 +01:00

added restydoc to our win32 build.

This commit is contained in:
Yichun Zhang (agentzh) 2016-05-12 19:21:16 -07:00
parent 0e2f55d2a0
commit 2589f0d3c1
2 changed files with 3 additions and 2 deletions

@ -480,7 +480,7 @@ mv openresty-redis2-nginx-module-* redis2-nginx-module-$ver || exit 1
#################################
ver=0.07rc4
ver=0.07rc5
$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
mv openresty-resty-cli-* resty-cli-$ver || exit 1

@ -7,11 +7,12 @@ if [ -d $name ]; then
rm -rf $name
fi
mkdir $name || exit 1
cp -r resty nginx.exe luajit.exe lua51.dll lua include lualib html conf logs $name/ || exit 1
cp -r resty restydoc nginx.exe luajit.exe lua51.dll lua include lualib html conf logs pod $name/ || exit 1
cp COPYRIGHT $name/ || exit 1
cp /c/MinGW/bin/libgcc_s_dw2-1.dll $name/ || exit 1
cd $name || exit 1
PATH=/c/Strawberry/perl/bin:$PATH cmd /c 'pl2bat.bat resty' || exit 1
PATH=/c/Strawberry/perl/bin:$PATH cmd /c 'pl2bat.bat restydoc' || exit 1
cp ../README-win32.txt README.txt
unix2dos conf/* html/*.html resty || exit 1
cd .. || exit 1