diff options
| author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-09-25 15:42:17 +0200 |
|---|---|---|
| committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-09-25 15:42:17 +0200 |
| commit | 5eb08d9e53a3ffc0f02db52b2bf295af8c0808e3 (patch) | |
| tree | 3b26c07a06f71b77532ab8715beb24c35f6f4ebc | |
| parent | 794a45d9b93fe77495803ec561a22b5065937287 (diff) | |
| download | luarocks-5eb08d9e53a3ffc0f02db52b2bf295af8c0808e3.tar.gz luarocks-5eb08d9e53a3ffc0f02db52b2bf295af8c0808e3.tar.bz2 luarocks-5eb08d9e53a3ffc0f02db52b2bf295af8c0808e3.zip | |
Added a utility batch file to pack LR on windows
| -rw-r--r-- | win32pack.bat | 33 |
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 | ||
| 2 | ECHO. | ||
| 3 | IF "%1"=="" GOTO GOEXIT | ||
| 4 | |||
| 5 | :PACKIT | ||
| 6 | mkdir %1 | ||
| 7 | mkdir %1\test | ||
| 8 | mkdir %1\src | ||
| 9 | xcopy /S/E .\test\*.* %1\test | ||
| 10 | xcopy /S/E .\src\*.* %1\src | ||
| 11 | xcopy /S/E .\win32\*.* %1 | ||
| 12 | copy *.* %1 | ||
| 13 | del %1\configure | ||
| 14 | del %1\makedist | ||
| 15 | del %1\Makefile | ||
| 16 | del %1\win32pack.bat | ||
| 17 | cd %1 | ||
| 18 | |||
| 19 | GOTO:EOF | ||
| 20 | |||
| 21 | :GOEXIT | ||
| 22 | ECHO. | ||
| 23 | ECHO This command creates a directory with an installable LuaRocks structure. This is | ||
| 24 | ECHO a workaround for the packaging script being a unix shell script. | ||
| 25 | ECHO. | ||
| 26 | ECHO To install LuaRocks on Windows from a Git repo use the following commands: | ||
| 27 | ECHO. | ||
| 28 | ECHO %0 ^<TARGET_DIR^> | ||
| 29 | ECHO install /? | ||
| 30 | ECHO. | ||
| 31 | ECHO Then follow instructions displayed to install LuaRocks | ||
| 32 | ECHO. | ||
| 33 | |||
