mirror of
https://github.com/natnat-mc/moonbuild
synced 2026-05-14 06:51:14 +02:00
fix freeze with -j and sync targets
This commit is contained in:
@@ -123,7 +123,7 @@ class DepNode
|
||||
return false
|
||||
for file in *@ins
|
||||
if not exists file
|
||||
error "Node #{name} has ran all of its parents, but can't run since #{file} doesn't exist"
|
||||
error "Node #{@name} has ran all of its parents, but can't run since #{file} doesn't exist. Did you mean to use after instead of depends?"
|
||||
return true
|
||||
|
||||
build: (opts={}) =>
|
||||
|
||||
@@ -39,7 +39,7 @@ class Executor
|
||||
addprocess: (node, opts) =>
|
||||
if node.sync
|
||||
while @nprocesses != 0
|
||||
@waitprocess
|
||||
@waitprocess!
|
||||
node\build opts
|
||||
node.built = true
|
||||
node\updatecache!
|
||||
|
||||
Reference in New Issue
Block a user