diff -r 219d7a7304f8 -r 038275cd92ed dependency.lua --- a/dependency.lua Sun May 07 20:02:53 2017 +0100 +++ b/dependency.lua Tue Jan 16 16:39:48 2018 +0000 @@ -1,9 +1,11 @@ -module("dependency", package.seeall) +--@module dependency -require('lfs') +local dependency={} -function simple_update_check(tgt, srcs) +lfs=require('lfs') + +function dependency.simple_update_check(tgt, srcs) local a=lfs.attributes(tgt) if not a then return true @@ -16,3 +18,5 @@ end return false end + +return dependency