3 Star 0 Fork 0

Gitee 极速下载/ejscript

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/embedthis/ejscript
克隆/下载
main.me 3.02 KB
一键复制 编辑 原始数据 按行查看 历史
Michael O'Brien 提交于 7年前 . UPDATE: paks
/*
main.me -- MakeMe file for Ejscript
*/
Me.load({
makeme: '>=0.9.0',
plugins: [ 'installs' ],
blend: [
'src/*.me',
'src/*/*.me',
'doc/doc.me',
],
customize: [
/*
The optional custom.me file is loaded after main.me is fully processed. It can
thus override any setting. Feel free to create and customize.
*/
'custom.me',
],
configure: {
requires: [ 'osdep', 'http', 'mpr', 'pcre', 'zlib' ]
discovers: [ 'sqlite', 'ssl' ],
},
settings: {
integrate: true,
/*
Installation prefix set
*/
prefixes: 'install-prefixes',
manifest: 'installs/manifest.me',
/* Must build locally to build tools */
platforms: [ 'local' ],
/*
EJS configuration
*/
ejscript: {
compile: '--optimize 9',
db: true,
mail: true,
mapper: true,
tar: true,
template: true,
web: true,
zlib: true,
},
http: {
/* Use PAM (Plugable Authentication Module) to store passwords */
pam: true,
webSockets: true,
},
mbedtls: {
compact: true, /* Compact edition - Disable non-essential ciphers and features */
},
mpr: {
/*
Enable logging via mprLog to the log file
The default is to enable logging for both debug and release builds.
*/
logging: true,
},
watchdog: {
name: 'ejsman',
},
/*
Tailor the optimization for size|speed
Currently, some ejs.web unit tests require tune == speed
*/
tune: 'speed',
},
usage: {
'http.pam': 'Enable Unix Pluggable Auth Module (true|false)',
'http.webSockets': 'Enable WebSockets (true|false)',
'mpr.logging': 'Enable application logging (true|false)',
},
scripts: {
loaded: `
if (me.targets.httpcmd) {
me.targets.httpcmd.enable = false
}
`,
},
targets: {
/*
See src/core/core.me for building the core library
See src/cmd/cmd.me for building the language commands
See installs/installs.me for the install targets
*/
projects: {
action: "genProjects('')",
},
publish: {
action: `publish()`,
},
mine: {
action: `genProjects('', 'mine', Config.OS + '-' + Config.CPU)`,
},
test: {
type: 'test',
home: '${TOP}',
action: `
run(['${LBIN}/utest', '-v', '-d', me.settings.depth])
`,
platforms: [ 'local' ],
}
},
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/mirrors/ejscript.git
git@gitee.com:mirrors/ejscript.git
mirrors
ejscript
ejscript
master

搜索帮助