diff options
| author | ruki <[email protected]> | 2023-02-02 22:33:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-02-02 22:33:07 +0800 |
| commit | eb427b3a97c9dd8b73d0c3f28bf34df58f840cd8 (patch) | |
| tree | 0895d56164debe31d4e547f2f8715ff5812b10b7 /xmake/plugins/check/checkers/api/target/optimize.lua | |
| parent | 947a170bddb00dd99ee332f6cd14443efcce0f59 (diff) | |
add optimize checker
Diffstat (limited to 'xmake/plugins/check/checkers/api/target/optimize.lua')
| -rw-r--r-- | xmake/plugins/check/checkers/api/target/optimize.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/xmake/plugins/check/checkers/api/target/optimize.lua b/xmake/plugins/check/checkers/api/target/optimize.lua new file mode 100644 index 000000000..c8bc6eb60 --- /dev/null +++ b/xmake/plugins/check/checkers/api/target/optimize.lua @@ -0,0 +1,26 @@ +--!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 optimize.lua +-- + +-- imports +import(".api_checker") + +function main() + api_checker.check_targets("optimize", {values = {"none", "fast", "faster", "fastest", "smallest", "aggressive"}}) +end |
