diff options
author | Diego Nehab <diego@impa.br> | 2013-05-25 18:10:46 +0800 |
---|---|---|
committer | Diego Nehab <diego@impa.br> | 2013-05-25 18:10:46 +0800 |
commit | 5d3a78b4a6ba5e71d526d62795f684c98eeee8eb (patch) | |
tree | 7bfe534e41e3adc3735b9e58138c624fcb4f29d9 | |
parent | bb0b31301a43e740f30cf438f9f2b3e68fbd7698 (diff) | |
download | luasocket-5d3a78b4a6ba5e71d526d62795f684c98eeee8eb.tar.gz luasocket-5d3a78b4a6ba5e71d526d62795f684c98eeee8eb.tar.bz2 luasocket-5d3a78b4a6ba5e71d526d62795f684c98eeee8eb.zip |
Added my test command lines.
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | linux.cmd | 1 | ||||
-rw-r--r-- | macosx.cmd | 1 | ||||
-rw-r--r-- | win32.cmd | 12 |
4 files changed, 14 insertions, 3 deletions
@@ -1,7 +1,4 @@ | |||
1 | *.o | 1 | *.o |
2 | *.so | 2 | *.so |
3 | *.so.* | 3 | *.so.* |
4 | macosx.cmd | ||
5 | win32.cmd | ||
6 | linux.cmd | ||
7 | 4 | ||
diff --git a/linux.cmd b/linux.cmd new file mode 100644 index 0000000..dc7fcaa --- /dev/null +++ b/linux.cmd | |||
@@ -0,0 +1 @@ | |||
make PLAT=linux LUAV=5.2 DEBUG=DEBUG | |||
diff --git a/macosx.cmd b/macosx.cmd new file mode 100644 index 0000000..f85141a --- /dev/null +++ b/macosx.cmd | |||
@@ -0,0 +1 @@ | |||
make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/diego/build/macosx LUAPREFIX_macosx=/Users/diego/build/macosx install-both | |||
diff --git a/win32.cmd b/win32.cmd new file mode 100644 index 0000000..48522f0 --- /dev/null +++ b/win32.cmd | |||
@@ -0,0 +1,12 @@ | |||
1 | make PLAT=win32 LUAV=5.2 LUAINC_win32='c:\cygwin\home\diego\build\include' LUALIB_win32='c:\cygwin\home\diego\build\bin\release' | ||
2 | |||
3 | #!/bin/sh | ||
4 | for p in Release Debug x64/Release x64/Debug; do | ||
5 | for el in mime socket; do | ||
6 | for e in dll lib; do | ||
7 | cp $p/$el/core.$e ../bin/$p/$el/ | ||
8 | done; | ||
9 | done; | ||
10 | cp src/ltn12.lua src/socket.lua src/mime.lua ../bin/$p/ | ||
11 | cp src/http.lua src/url.lua src/tp.lua src/ftp.lua src/headers.lua src/smtp.lua ../bin/$p/socket/ | ||
12 | done; | ||