Skip to content

Commit f2a94bd

Browse files
committed
add setup command
1 parent 08f9a21 commit f2a94bd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,16 @@ Set the following environment variables:
7474
- `ANDROID_HOME` pointing to where you have installed the Android SDK
7575
- `ANDROID_NDK_HOME` pointing to the version of the Android NDK needed for this version of NativeScript
7676

77-
Run the following command to build the runtime:
77+
Run the following commands to build the runtime:
78+
79+
```
80+
npm run setup
81+
```
7882

7983
```
8084
npm run build
8185
```
86+
8287
The command will let you interactively choose the JS engine you want to build with. i.e V8, QuickJS, Hermes or JSC, PrimJS, Static Hermes.
8388

8489
- The build process includes building of the runtime package (both optimized and with unstripped v8 symbol table), as well as all supplementary tools used for the android builds: metadata-generator, binding-generator, metadata-generator, static-binding-generator

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
"scripts": {
2828
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
2929
"version": "npm run changelog && git add CHANGELOG.md",
30-
"build": "node ./scripts/build.js"
30+
"build": "node ./scripts/build.js",
31+
"setup": "cd test-app/build-tools/jsparser && npm install && cd ../../../"
3132
},
3233
"devDependencies": {
3334
"conventional-changelog-cli": "^2.1.1",

0 commit comments

Comments
 (0)