Skip to content

Commit 4f445b1

Browse files
committed
Use the no_common variant of mjs.c
common is provided by mos
1 parent 3181ae7 commit 4f445b1

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

mos.yml

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,33 @@
11
author: mongoose-os
22
description: JavaScript engine
33
type: lib
4-
version: 1.0
4+
version: 1.0.0
5+
6+
libs:
7+
- location: https://github.com/mongoose-os-libs/core
8+
9+
modules:
10+
- location: https://github.com/cesanta/mjs
11+
name: mjs_module
512

613
sources:
714
- src
8-
- ${mos.modules.mjs_module.path}/mjs.c
15+
- ${mos.modules.mjs_module.path}/mjs_no_common.c
16+
917
includes:
1018
- include
19+
- ${mos.modules.mjs_module.path}
20+
1121
filesystem:
1222
- fs
13-
- ${mos.modules.mjs_module.path}/mjs/lib/api_*.js
23+
- ${mos.modules.mjs_module.path}/lib/api_*.js
1424
- ${mos.modules.mongoose_os.path}/fw/mjs_api/api_*.js
1525
- ${mos.modules.mongoose_os.path}/platforms/${arch}/mjs_api/api_*.js
1626
- "@all_libs/mjs_fs"
27+
1728
config_schema:
1829
- ["mjs", "o", {title: "mJS settings"}]
1930
- ["mjs.generate_jsc", "b", true, {title: "Generate .jsc file when executing any .js file"}]
20-
modules:
21-
- location: https://github.com/cesanta/mjs
22-
name: mjs_module
2331

2432
tags:
2533
- js # Supports JavaScript
@@ -28,7 +36,3 @@ tags:
2836
- docs:misc:MJS JavaScript engine
2937

3038
manifest_version: 2017-09-29
31-
32-
# Temporary, while root manifest change propagates (2018/03/29).
33-
libs:
34-
- location: https://github.com/mongoose-os-libs/core

0 commit comments

Comments
 (0)