summaryrefslogtreecommitdiff
path: root/xmake/toolchains/xcode/check.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-05-17 21:57:39 +0800
committerruki <[email protected]>2020-05-17 21:57:39 +0800
commitc0afaacde90abf081bab19279c3ea6d4dbeae86d (patch)
tree002bc20bb2d3b34d19c35b0d5838341926b3e22f /xmake/toolchains/xcode/check.lua
parenta41ba24cf16ee3426c288f569cd41ae8cec4ab6d (diff)
add toolchain check
Diffstat (limited to 'xmake/toolchains/xcode/check.lua')
-rw-r--r--xmake/toolchains/xcode/check.lua28
1 files changed, 28 insertions, 0 deletions
diff --git a/xmake/toolchains/xcode/check.lua b/xmake/toolchains/xcode/check.lua
new file mode 100644
index 000000000..c10fe48d9
--- /dev/null
+++ b/xmake/toolchains/xcode/check.lua
@@ -0,0 +1,28 @@
+--!A cross-toolchain 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 check.lua
+--
+
+-- imports
+import("core.project.config")
+import("private.platform.check_xcode")
+
+-- main entry
+function main(toolchain)
+ check_xcode(config, true)
+end