From 5eb08d9e53a3ffc0f02db52b2bf295af8c0808e3 Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Wed, 25 Sep 2013 15:42:17 +0200 Subject: Added a utility batch file to pack LR on windows --- win32pack.bat | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 win32pack.bat diff --git a/win32pack.bat b/win32pack.bat new file mode 100644 index 00000000..022a44db --- /dev/null +++ b/win32pack.bat @@ -0,0 +1,33 @@ +@ECHO OFF +ECHO. +IF "%1"=="" GOTO GOEXIT + +:PACKIT +mkdir %1 +mkdir %1\test +mkdir %1\src +xcopy /S/E .\test\*.* %1\test +xcopy /S/E .\src\*.* %1\src +xcopy /S/E .\win32\*.* %1 +copy *.* %1 +del %1\configure +del %1\makedist +del %1\Makefile +del %1\win32pack.bat +cd %1 + +GOTO:EOF + +:GOEXIT +ECHO. +ECHO This command creates a directory with an installable LuaRocks structure. This is +ECHO a workaround for the packaging script being a unix shell script. +ECHO. +ECHO To install LuaRocks on Windows from a Git repo use the following commands: +ECHO. +ECHO %0 ^ +ECHO install /? +ECHO. +ECHO Then follow instructions displayed to install LuaRocks +ECHO. + -- cgit v1.2.3-55-g6feb