diff options
| author | ruki <[email protected]> | 2025-04-03 00:47:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-04-08 15:31:57 +0800 |
| commit | 38695f0bf5875dc5db9ccaa8c9ddbf8ef46d4f5e (patch) | |
| tree | 442f2c3d0b92ecb1fbfd900725144715d624b21d /xmake/modules | |
| parent | f2100441c10d29f9932e379077b2b56a29f46389 (diff) | |
add target deps orders
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/async/jobgraph.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/async/jobgraph.lua b/xmake/modules/async/jobgraph.lua index 28126757f..612ff4882 100644 --- a/xmake/modules/async/jobgraph.lua +++ b/xmake/modules/async/jobgraph.lua @@ -107,6 +107,11 @@ function jobgraph:remove(name) end end +-- has the given job or group? +function jobgraph:has(name) + return self._jobs[name] or self._groups[name] +end + -- enter group to add jobs -- -- e.g. |
