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