Replies: 1 comment 3 replies
-
你放到 workflow target 下 rm build 目录,确实是删了的,但是删了后,之后又 clean 了其他 target ,可能在这个过程中,不知道哪里需要用到 build 目录,导致重新创建了一个空的 build 目录,具体原因还得后面细查,你可以先挪到 root 下。 但你挪到 root 下,每个 target 的 clean 完都会执行 after_clean 去删一遍 build 目录,所以删干净了。。 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
workflow的src/xmake.lua中定义 after_clean 脚本,但是 xmake clean 无法删除 build 文件夹, 但是我移动到了 根目录下的 xmake.lua 则能正常删除
请问下导致这样的原因是什么?
(脚本中都能正常删除 _include和_lib, 说明代码是走到这里了的,但是却无法正常删除 build文件夹
修改的 pr 在这里,麻烦大佬指点下,https://github.com/sogou/workflow/pull/1139/files
Beta Was this translation helpful? Give feedback.
All reactions