代码拉取完成,页面将自动刷新
/*
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' ],
}
},
})
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。