diff options
| author | ruki <[email protected]> | 2015-06-16 22:10:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-16 22:10:43 +0800 |
| commit | 8c8d7af7135b400a44cc58d3f0d74a72164f9b2a (patch) | |
| tree | c491d0d3cd0f512b5c5e916f20264b3e7603f69e /core/src/xmake/machine.c | |
| parent | 3d97768287a089f862d841cb697b48852941b002 (diff) | |
check for the mtime of project file
Diffstat (limited to 'core/src/xmake/machine.c')
| -rwxr-xr-x | core/src/xmake/machine.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/src/xmake/machine.c b/core/src/xmake/machine.c index 018020b5c..0898f9807 100755 --- a/core/src/xmake/machine.c +++ b/core/src/xmake/machine.c @@ -56,6 +56,7 @@ tb_int_t xm_os_rmdir(lua_State* lua); tb_int_t xm_os_mkdir(lua_State* lua); tb_int_t xm_os_cpdir(lua_State* lua); tb_int_t xm_os_chdir(lua_State* lua); +tb_int_t xm_os_mtime(lua_State* lua); tb_int_t xm_os_curdir(lua_State* lua); tb_int_t xm_os_tmpdir(lua_State* lua); tb_int_t xm_os_isfile(lua_State* lua); @@ -88,6 +89,7 @@ static luaL_Reg const g_os_functions[] = , { "mkdir", xm_os_mkdir } , { "cpdir", xm_os_cpdir } , { "chdir", xm_os_chdir } +, { "mtime", xm_os_mtime } , { "curdir", xm_os_curdir } , { "tmpdir", xm_os_tmpdir } , { "isfile", xm_os_isfile } |
