summaryrefslogtreecommitdiff
path: root/tests/ui/hello.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-12-12 22:48:25 +0800
committerruki <[email protected]>2017-12-12 10:50:35 +0800
commitfccce25811e0a02bca4ac81a9ecadea85b2f855f (patch)
tree9688090cb2aaf82699559d3c8d02df5eebea5bfe /tests/ui/hello.lua
parenta4729d44c64cd85e4c981e87ee3cf01bab6f16ac (diff)
init ui program
Diffstat (limited to 'tests/ui/hello.lua')
-rw-r--r--tests/ui/hello.lua31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/ui/hello.lua b/tests/ui/hello.lua
new file mode 100644
index 000000000..e2330ddb0
--- /dev/null
+++ b/tests/ui/hello.lua
@@ -0,0 +1,31 @@
+--!A cross-platform build utility based on Lua
+--
+-- Licensed to the Apache Software Foundation (ASF) under one
+-- or more contributor license agreements. See the NOTICE file
+-- distributed with this work for additional information
+-- regarding copyright ownership. The ASF licenses this file
+-- to you 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 - 2017, TBOOX Open Source Group.
+--
+-- @author ruki
+-- @file hello.lua
+--
+
+-- imports
+import("core.ui.application")
+
+-- main entry
+function main(...)
+ application.run(...)
+end