Skip to content

Commit

Permalink
Fixed directory dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vercas committed Nov 24, 2016
1 parent 4faa210 commit 40deab8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions vmake-1.3.0-5.rockspec → vmake-1.3.1-6.rockspec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package = "vmake"
version = "1.3.0-5"
version = "1.3.1-6"

source = {
url = "git://github.com/vercas/vMake",
tag = "v1.3.0",
tag = "v1.3.1",
}

description = {
Expand Down
13 changes: 9 additions & 4 deletions vmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ if arg then
end

local vmake, vmake__call, getEnvironment = {
Version = "1.3.0",
VersionNumber = 1003000,
Version = "1.3.1",
VersionNumber = 1003001,

Debug = false,
Silent = false,
Expand Down Expand Up @@ -1061,6 +1061,10 @@ do
end,

Equals = function(self, othr)
if othr == nil then
return false
end

local othrType = typeEx(othr)

if othrType == "string" then
Expand Down Expand Up @@ -3791,9 +3795,10 @@ function vmake.ConstructWorkGraph()
end
end

if src.ModificationTime
if (src.ModificationTime
and path.ModificationTime
and src.ModificationTime <= path.ModificationTime then
and src.ModificationTime <= path.ModificationTime)
or (src.IsDirectory and src.Exists) then
-- Source NOT modified after the destination? Cool!

--MSG("Preq ", src, " of ", item, " is NOT outdated.")
Expand Down

0 comments on commit 40deab8

Please sign in to comment.