diff options
| author | ruki <[email protected]> | 2016-05-23 10:40:50 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-23 10:40:50 +0800 |
| commit | c8454a31c38bbf25b56d0dd4a9a7c8d71ca59419 (patch) | |
| tree | 126433106bc622ee8671f73aaf1fb5870c9427b9 /xmake/core/project/cache.lua | |
| parent | 273e6abaea05b469bdb10b5cce57ff064886fe52 (diff) | |
impl run action
Diffstat (limited to 'xmake/core/project/cache.lua')
| -rw-r--r-- | xmake/core/project/cache.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/project/cache.lua b/xmake/core/project/cache.lua index 9a7491aed..5ea212dfc 100644 --- a/xmake/core/project/cache.lua +++ b/xmake/core/project/cache.lua @@ -67,7 +67,7 @@ function cache._instance(scopename) if results then instance._CACHEDATA = results end - instance._CACHEDATA = instance._CACHEDATA or {__version = xmake._VERSION} + instance._CACHEDATA = instance._CACHEDATA or {__version = xmake._VERSION_SHORT} -- save instance instances[scopename] = instance @@ -94,7 +94,7 @@ end function cache:clear() -- clear it - self._CACHEDATA = {__version = xmake._VERSION} + self._CACHEDATA = {__version = xmake._VERSION_SHORT} end -- flush to cache file |
