From 26edc4de9180bc49e9ca2fa388343dc7ba9e9660 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 23 May 2021 12:31:57 +0800 Subject: fix config cache again --- xmake/actions/config/main.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/xmake/actions/config/main.lua b/xmake/actions/config/main.lua index 3393e1603..61f497c77 100644 --- a/xmake/actions/config/main.lua +++ b/xmake/actions/config/main.lua @@ -93,9 +93,6 @@ function _need_check(changed) changed = true end end - - -- update mtimes - localcache.set("config", "mtimes", mtimes) return changed end @@ -369,6 +366,7 @@ force to build in current directory via run `xmake -P .`]], os.projectdir()) -- save options and config cache localcache.set("config", "recheck", false) + localcache.set("config", "mtimes", project.mtimes()) config.save() localcache.set("config", "options", options) localcache.save("config") -- cgit v1.3.1