diff options
| author | ruki <[email protected]> | 2021-06-10 00:24:17 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-06-10 00:24:17 +0800 |
| commit | 9627fd7d1bf3507e5c0a1ca80e3b6465b3cd7c95 (patch) | |
| tree | 2bef6402e5be188dbf80b46101a3867399b01351 | |
| parent | 1ef30a20679bc468cf4b81e7fb56aedf8b4f8a5b (diff) | |
remove references when exporting
| -rw-r--r-- | xmake/modules/private/action/require/impl/export_packages.lua | 1 |
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 |
