Added my test command lines.

This commit is contained in:
Diego Nehab 2013-05-25 18:10:46 +08:00
parent bb0b31301a
commit 5d3a78b4a6
4 changed files with 14 additions and 3 deletions

3
.gitignore vendored
View File

@ -1,7 +1,4 @@
*.o
*.so
*.so.*
macosx.cmd
win32.cmd
linux.cmd

1
linux.cmd Normal file
View File

@ -0,0 +1 @@
make PLAT=linux LUAV=5.2 DEBUG=DEBUG

1
macosx.cmd Normal file
View File

@ -0,0 +1 @@
make DEBUG=DEBUG PLAT=macosx LUAINC_macosx_base=/Users/diego/build/macosx LUAPREFIX_macosx=/Users/diego/build/macosx install-both

12
win32.cmd Normal file
View File

@ -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;