Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
git submodule (t/lua-TestMore)
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Nov 19, 2009
1 parent c087e17 commit 3b2cf82
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions setup.pir
Expand Up @@ -144,6 +144,12 @@ LIBS
system(cmd)
L1:

$I0 = file_exists('t/lua-TestMore/src/Test/More.lua')
if $I0 goto L2
system('git submodule init t/lua-TestMore')
system('git submodule update')
L2:

$I0 = newer('Test/More.lua', 't/lua-TestMore/src/Test/More.lua')
if $I0 goto L3
install('t/lua-TestMore/src/Test/More.lua', 'Test/More.lua', 0)
Expand Down

0 comments on commit 3b2cf82

Please sign in to comment.