diff options
| m--------- | tests/projects/requires/source/tboox.tbox | 0 | ||||
| -rw-r--r-- | xmake/actions/require/install.lua | 4 |
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/projects/requires/source/tboox.tbox b/tests/projects/requires/source/tboox.tbox new file mode 160000 +Subproject b8d43a17797fb4ac7a57be0373e3528ddf0b720 diff --git a/xmake/actions/require/install.lua b/xmake/actions/require/install.lua index 5192eb952..9d635f135 100644 --- a/xmake/actions/require/install.lua +++ b/xmake/actions/require/install.lua @@ -98,6 +98,10 @@ end -- install packages function main(requires) + -- avoid to run this task repeatly + if _g.installed then return end + _g.installed = true + -- init requires local requires_extra = nil if not requires then |
