diff options
| author | ruki <[email protected]> | 2020-04-22 22:34:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-04-22 09:29:34 +0800 |
| commit | 15dc39430ed49d42709bba3ef2acab8500414a3a (patch) | |
| tree | 21b5fe80d575cf9a1604c5edce5940504ede17c7 /xmake/rules/xmake_cli | |
| parent | e273a770ecd7917f29f013904d3c4b8201af307c (diff) | |
add xmake.cli rule
Diffstat (limited to 'xmake/rules/xmake_cli')
| -rw-r--r-- | xmake/rules/xmake_cli/xmake.lua | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/xmake/rules/xmake_cli/xmake.lua b/xmake/rules/xmake_cli/xmake.lua new file mode 100644 index 000000000..25acf0568 --- /dev/null +++ b/xmake/rules/xmake_cli/xmake.lua @@ -0,0 +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-2020, TBOOX Open Source Group. +-- +-- @author ruki +-- @file xmake.lua +-- + +-- define rule: xmake cli program +rule("xmake.cli") + before_load(function (target) + target:set("kind", "binary") + end) |
