From 5d3a78b4a6ba5e71d526d62795f684c98eeee8eb Mon Sep 17 00:00:00 2001 From: Diego Nehab Date: Sat, 25 May 2013 18:10:46 +0800 Subject: [PATCH] Added my test command lines. --- .gitignore | 3 --- linux.cmd | 1 + macosx.cmd | 1 + win32.cmd | 12 ++++++++++++ 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 linux.cmd create mode 100644 macosx.cmd create mode 100644 win32.cmd diff --git a/.gitignore b/.gitignore index 0e0b11f..4b30ae0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,4 @@ *.o *.so *.so.* -macosx.cmd -win32.cmd -linux.cmd 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 @@ +make PLAT=win32 LUAV=5.2 LUAINC_win32='c:\cygwin\home\diego\build\include' LUALIB_win32='c:\cygwin\home\diego\build\bin\release' + +#!/bin/sh +for p in Release Debug x64/Release x64/Debug; do + for el in mime socket; do + for e in dll lib; do + cp $p/$el/core.$e ../bin/$p/$el/ + done; + done; + cp src/ltn12.lua src/socket.lua src/mime.lua ../bin/$p/ + cp src/http.lua src/url.lua src/tp.lua src/ftp.lua src/headers.lua src/smtp.lua ../bin/$p/socket/ +done;