diff options
| author | ruki <[email protected]> | 2020-12-19 22:23:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-19 22:23:55 +0800 |
| commit | a61f0ae466ce6b8ae1c6d994ec20263fa6aa26a8 (patch) | |
| tree | b043e9664c68d7881829bbe58aed60671eb02e1c | |
| parent | 7bc7bd9e3ca67f18a637f8779c82436e609fa042 (diff) | |
export local and global cache
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/cache/globalcache.lua | 23 | ||||
| -rw-r--r-- | xmake/core/sandbox/modules/import/core/cache/localcache.lua | 23 |
2 files changed, 46 insertions, 0 deletions
diff --git a/xmake/core/sandbox/modules/import/core/cache/globalcache.lua b/xmake/core/sandbox/modules/import/core/cache/globalcache.lua new file mode 100644 index 000000000..695f2e799 --- /dev/null +++ b/xmake/core/sandbox/modules/import/core/cache/globalcache.lua @@ -0,0 +1,23 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015-present, TBOOX Open Source Group. +-- +-- @author ruki +-- @file globalcache.lua +-- + +-- return module +return require("cache/globalcache") + diff --git a/xmake/core/sandbox/modules/import/core/cache/localcache.lua b/xmake/core/sandbox/modules/import/core/cache/localcache.lua new file mode 100644 index 000000000..fb112ec53 --- /dev/null +++ b/xmake/core/sandbox/modules/import/core/cache/localcache.lua @@ -0,0 +1,23 @@ +--!A cross-platform build utility based on Lua +-- +-- Licensed under the Apache License, Version 2.0 (the "License"); +-- you may not use this file except in compliance with the License. +-- You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, software +-- distributed under the License is distributed on an "AS IS" BASIS, +-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +-- See the License for the specific language governing permissions and +-- limitations under the License. +-- +-- Copyright (C) 2015-present, TBOOX Open Source Group. +-- +-- @author ruki +-- @file localcache.lua +-- + +-- return module +return require("cache/localcache") + |
