summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2020-12-19 00:41:59 +0800
committerruki <[email protected]>2020-12-19 00:41:59 +0800
commit764ccc35c4196d11590b7e76f500448277304b5e (patch)
treeb10848be8dbfdbc07af4df21c6024750bb75a562
parent536f2bd6a092eba91315b7d1e120dff63392a11d (diff)
add new cache modules
-rw-r--r--xmake/core/base/cache.lua33
1 files changed, 33 insertions, 0 deletions
diff --git a/xmake/core/base/cache.lua b/xmake/core/base/cache.lua
new file mode 100644
index 000000000..d28300602
--- /dev/null
+++ b/xmake/core/base/cache.lua
@@ -0,0 +1,33 @@
+--!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 cache.lua
+--
+
+-- define module: cache
+local cache = cache or {}
+
+-- load modules
+local io = require("base/io")
+local os = require("base/os")
+local path = require("base/path")
+local table = require("base/table")
+local utils = require("base/utils")
+local global = require("base/global")
+
+-- return module: cache
+return cache