diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2013-09-26 02:16:40 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2013-09-26 02:16:40 -0300 |
commit | 4a3c08701e463aa811b40fe61607d246209c5688 (patch) | |
tree | bc5027777f5cf3bc6d6dac06eea3344cfa358558 | |
parent | 606c29d80dd939cccc21c7278cc20d3300df2576 (diff) | |
parent | a55309e6daad16938d899a2311aadab3225755ad (diff) | |
download | luarocks-4a3c08701e463aa811b40fe61607d246209c5688.tar.gz luarocks-4a3c08701e463aa811b40fe61607d246209c5688.tar.bz2 luarocks-4a3c08701e463aa811b40fe61607d246209c5688.zip |
Merge branch 'master' of github.com:keplerproject/luarocks
Diffstat (limited to '')
-rw-r--r-- | install.bat | 2 | ||||
-rw-r--r-- | win32pack.bat | 33 |
2 files changed, 34 insertions, 1 deletions
diff --git a/install.bat b/install.bat index 8222454e..abf680a4 100644 --- a/install.bat +++ b/install.bat | |||
@@ -643,7 +643,7 @@ print(S[[ | |||
643 | You may want to add the following elements to your paths; | 643 | You may want to add the following elements to your paths; |
644 | PATH : $LUA_BINDIR;$FULL_PREFIX | 644 | PATH : $LUA_BINDIR;$FULL_PREFIX |
645 | LUA_PATH : $ROCKS_TREE\share\lua\$LUA_VERSION\?.lua;$ROCKS_TREE\share\lua\$LUA_VERSION\?\init.lua | 645 | LUA_PATH : $ROCKS_TREE\share\lua\$LUA_VERSION\?.lua;$ROCKS_TREE\share\lua\$LUA_VERSION\?\init.lua |
646 | LUA_CPATH: $LUA_LIBDIR\lua\$LUA_VERSION\?.dll | 646 | LUA_CPATH: $ROCKS_TREE\lib\lua\$LUA_VERSION\?.dll |
647 | 647 | ||
648 | ]]) | 648 | ]]) |
649 | os.exit(0) | 649 | os.exit(0) |
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 | |||