summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-10 00:24:17 +0800
committerruki <[email protected]>2021-06-10 00:24:17 +0800
commit9627fd7d1bf3507e5c0a1ca80e3b6465b3cd7c95 (patch)
tree2bef6402e5be188dbf80b46101a3867399b01351
parent1ef30a20679bc468cf4b81e7fb56aedf8b4f8a5b (diff)
remove references when exporting
-rw-r--r--xmake/modules/private/action/require/impl/export_packages.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/export_packages.lua b/xmake/modules/private/action/require/impl/export_packages.lua
index b2053319a..381897045 100644
--- a/xmake/modules/private/action/require/impl/export_packages.lua
+++ b/xmake/modules/private/action/require/impl/export_packages.lua
@@ -39,6 +39,7 @@ function main(requires, opt)
print("exporting %s-%s %s", instance:displayname(), instance:version_str(), package.get_configs_str(instance))
cprint(" ${yellow}->${clear} %s", exportpath)
os.cp(installdir, exportpath)
+ os.tryrm(path.join(exportpath, "references.txt"))
table.insert(packages, instance)
end
end