From: Robin Dunn Date: Mon, 24 Nov 2003 19:22:26 +0000 (+0000) Subject: script to make the raw preview tarball X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/f39ed413b18b2a79da064d67dd547e10007507d0 script to make the raw preview tarball git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/distrib/makepreview.bat b/wxPython/distrib/makepreview.bat new file mode 100755 index 0000000000..4df8965ede --- /dev/null +++ b/wxPython/distrib/makepreview.bat @@ -0,0 +1,46 @@ +rem @echo off + +setlocal +set BASE=_distrib_zip\wxPython-%1 + +rem **** Make a directory to build up a distribution tree +mkdir _distrib_zip +mkdir %BASE% +mkdir %BASE%\wx +mkdir %BASE%\wxPython +mkdir %BASE%\demo +mkdir %BASE%\scripts + +rem *** copy files +copy /s wx %BASE%\wx +copy /s wxPython %BASE%\wxPython +copy /s demo %BASE%\demo +copy /s scripts %BASE%\scripts +copy ..\BIN\*h_*.dll %BASE%\wx + + + + +rem *** remove unneeded files +cd _distrib_zip +ffind /A:D /SB CVS > del-files +cat del-files +del /sxzy @del-files +del del-files +cd .. + + + +rem *** bundle it all up +cd _distrib_zip +tar cvf ../dist/wxPythonWIN32-preview-%1.tar wxPython-%1 +gzip -9 ../dist/wxPythonWIN32-preview-%1.tar + +rem *** cleanup +cd .. +del /sxzy _distrib_zip + +endlocal + + +