diff options
| author | ruki <[email protected]> | 2021-05-23 12:31:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-05-23 12:31:57 +0800 |
| commit | 26edc4de9180bc49e9ca2fa388343dc7ba9e9660 (patch) | |
| tree | 994654a1f1deb376345771e439878d3517a032a6 | |
| parent | bd080f2c7943471935bf5d67b04484bed5ace455 (diff) | |
fix config cache again
| -rw-r--r-- | xmake/actions/config/main.lua | 4 |
1 files changed, 1 insertions, 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") |
