aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@impa.br>2013-05-25 18:10:46 +0800
committerDiego Nehab <diego@impa.br>2013-05-25 18:10:46 +0800
commit5d3a78b4a6ba5e71d526d62795f684c98eeee8eb (patch)
tree7bfe534e41e3adc3735b9e58138c624fcb4f29d9
parentbb0b31301a43e740f30cf438f9f2b3e68fbd7698 (diff)
downloadluasocket-5d3a78b4a6ba5e71d526d62795f684c98eeee8eb.tar.gz
luasocket-5d3a78b4a6ba5e71d526d62795f684c98eeee8eb.tar.bz2
luasocket-5d3a78b4a6ba5e71d526d62795f684c98eeee8eb.zip
Added my test command lines.
-rw-r--r--.gitignore3
-rw-r--r--linux.cmd1
-rw-r--r--macosx.cmd1
-rw-r--r--win32.cmd12
4 files changed, 14 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index 0e0b11f..4b30ae0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,4 @@
1*.o 1*.o
2*.so 2*.so
3*.so.* 3*.so.*
4macosx.cmd
5win32.cmd
6linux.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 @@
1make 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
4for 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/
12done;