diff options
| author | Gly <[email protected]> | 2022-12-26 23:28:50 +0100 |
|---|---|---|
| committer | Gly <[email protected]> | 2022-12-26 23:28:50 +0100 |
| commit | bda18437013c9075d54dafedc7723065512876b2 (patch) | |
| tree | 56574dbd38b1259a8f6bd6d18a7ba761b8999bde /xmake/modules | |
| parent | 638c9e8047e45c01dce32096907be5dc9bade9c9 (diff) | |
add license
Diffstat (limited to 'xmake/modules')
| -rw-r--r-- | xmake/modules/private/xrepo/quick_search/cache.lua | 20 | ||||
| -rw-r--r-- | xmake/modules/private/xrepo/quick_search/complete.lua | 21 |
2 files changed, 41 insertions, 0 deletions
diff --git a/xmake/modules/private/xrepo/quick_search/cache.lua b/xmake/modules/private/xrepo/quick_search/cache.lua index 8a16e1a2d..3612160d7 100644 --- a/xmake/modules/private/xrepo/quick_search/cache.lua +++ b/xmake/modules/private/xrepo/quick_search/cache.lua @@ -1,3 +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 glcraft +-- @file cache.lua +-- + import("core.base.json") import("core.base.global") import("core.package.package", {alias = "core_package"}) diff --git a/xmake/modules/private/xrepo/quick_search/complete.lua b/xmake/modules/private/xrepo/quick_search/complete.lua index 224aba0b6..1b3c58c85 100644 --- a/xmake/modules/private/xrepo/quick_search/complete.lua +++ b/xmake/modules/private/xrepo/quick_search/complete.lua @@ -1,4 +1,25 @@ +--!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 glcraft +-- @file complete.lua +-- + import("private.xrepo.quick_search.cache") + function main(complete, opt) local packages = cache.get() local candidates = {} |
