aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--win32pack.bat33
1 files changed, 33 insertions, 0 deletions
diff --git a/win32pack.bat b/win32pack.bat
new file mode 100644
index 00000000..022a44db
--- /dev/null
+++ b/win32pack.bat
@@ -0,0 +1,33 @@
1@ECHO OFF
2ECHO.
3IF "%1"=="" GOTO GOEXIT
4
5:PACKIT
6mkdir %1
7mkdir %1\test
8mkdir %1\src
9xcopy /S/E .\test\*.* %1\test
10xcopy /S/E .\src\*.* %1\src
11xcopy /S/E .\win32\*.* %1
12copy *.* %1
13del %1\configure
14del %1\makedist
15del %1\Makefile
16del %1\win32pack.bat
17cd %1
18
19GOTO:EOF
20
21:GOEXIT
22ECHO.
23ECHO This command creates a directory with an installable LuaRocks structure. This is
24ECHO a workaround for the packaging script being a unix shell script.
25ECHO.
26ECHO To install LuaRocks on Windows from a Git repo use the following commands:
27ECHO.
28ECHO %0 ^<TARGET_DIR^>
29ECHO install /?
30ECHO.
31ECHO Then follow instructions displayed to install LuaRocks
32ECHO.
33