From 2589f0d3c1d3944bd468ef00be6d445791b1e0bb Mon Sep 17 00:00:00 2001 From: "Yichun Zhang (agentzh)" Date: Thu, 12 May 2016 19:21:16 -0700 Subject: [PATCH] added restydoc to our win32 build. --- util/mirror-tarballs | 2 +- util/package-win32.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/util/mirror-tarballs b/util/mirror-tarballs index 05c3f9a..d57db49 100755 --- a/util/mirror-tarballs +++ b/util/mirror-tarballs @@ -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 diff --git a/util/package-win32.sh b/util/package-win32.sh index b440d4d..9611e47 100755 --- a/util/package-win32.sh +++ b/util/package-win32.sh @@ -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