Skip to content
This repository has been archived by the owner on Nov 20, 2020. It is now read-only.

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
moteus committed Sep 27, 2012
0 parents commit 1d33319
Show file tree
Hide file tree
Showing 10 changed files with 5,237 additions and 0 deletions.
3,495 changes: 3,495 additions & 0 deletions doc/APPNOTE.TXT

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions lakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
if LUA_VER == '5.2' then
LUA_NEED = 'lua52'
LUA_DIR = ENV.LUA_DIR_5_2 or ENV.LUA_DIR
else
LUA_NEED = 'lua'
LUA_DIR = ENV.LUA_DIR
end

PROJECT = 'ZipWrite'

INSTALL_DIR = INSTALL_DIR or J(LUA_DIR,'libs',PROJECT)

install = target('install', {
file.group{odir=J(INSTALL_DIR, 'lua' );recurse = true; src = J('lua', '*.*' )};
file.group{odir=J(INSTALL_DIR, 'doc' );recurse = true; src = J('doc', '*.*' )};
file.group{odir=J(INSTALL_DIR, 'utils' );recurse = true; src = J('utils','*.*' )};
file.group{odir=J(INSTALL_DIR, 'test' );recurse = true; src = J('test', '*.*' )};
})

target('test', install, function()
if not TESTING then lake.chdir(J(INSTALL_DIR,'test')) end
print("run " .. J(INSTALL_DIR,'test','test.lua'))
if not TESTING then
os.execute( LUA_EXE .. ' ' .. J(INSTALL_DIR,'test','test.lua') )
lake.chdir('<')
end
end)
Loading

0 comments on commit 1d33319

Please sign in to comment.