-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.woo
41 lines (31 loc) · 1.27 KB
/
package.woo
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--author: liyanxi
return {
--- woo版本
woo_ver = '1.0?',
--- om 版本
---
--- 设计规则,所有的版本添加功能,版本号只能小数点后面增加,整数位不增加,只有非常大的版本,不兼容之前的版本时,整数位才能增加
---
--- 版本更新时,不能删除某个功能,防止不兼容,应当采用v1,v2来过度
ver = '1.15',
--- oshine is member name ,om is package name
['package_name'] = 'oshine/om',
--- where should this package install,[default:local]
self_install = 'global',
--- version must like :? , 1.?, 2.3.?
dependencies = {
['oshine/woo_any_type'] = '?|global',
['oshine/woo_args'] = '1.0?|global'
},
--- platform default is all platform
platform = 'all' or 'windows drawn linux',
--- which port will take,mulit port use , split
--port = '12225,12224',
remark = { zh = 'woo语言官方包管理器', en = 'install package in any platform at any time' },
title = 'Coder Wooyri package manager',
--- 导出cmd文件夹内的woo文件用作全局命令
--- 导出之后可以全局执行rename命令,否则:om rename
--export = { rename = 'rename' },
--- 自动加入环境变量
env_path = { 'bin' }
}