summaryrefslogtreecommitdiff
path: root/xmake/plugins/pack/zip/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-17 23:30:30 +0800
committerruki <[email protected]>2023-11-17 23:30:30 +0800
commit0accb1d4f09cc780bbb16ea510f791f8354ee741 (patch)
tree786529a1229992b92ac59a05f7bf48f4e46e6450 /xmake/plugins/pack/zip/main.lua
parent42030c6ef77d2cdb5dfd1e809eff448f761d36a7 (diff)
add pack archive stub
Diffstat (limited to 'xmake/plugins/pack/zip/main.lua')
-rw-r--r--xmake/plugins/pack/zip/main.lua26
1 files changed, 26 insertions, 0 deletions
diff --git a/xmake/plugins/pack/zip/main.lua b/xmake/plugins/pack/zip/main.lua
new file mode 100644
index 000000000..b54e6bf8a
--- /dev/null
+++ b/xmake/plugins/pack/zip/main.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 main.lua
+--
+
+-- imports
+import(".archive")
+
+function main(package)
+ archive(package, "zip")
+end