Skip to content

Commit 321c1d7

Browse files
authored
Merge pull request #748 from NativeScript/pete/update-readme
Update readme
2 parents 350090c + f92cfdc commit 321c1d7

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

README.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,24 @@ The source in this repo is organized in Android Studio projects.
2929
# How to build
3030

3131
* Run command
32-
```Shell
33-
gradlew build
34-
```
32+
33+
Windows:
34+
35+
```Shell
36+
gradlew createPackage
37+
```
38+
39+
Mac/Linux:
40+
41+
```Shell
42+
./gradlew createPackage
43+
```
44+
45+
* 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
3546
* The result of the build will be in the dist folder.
3647

48+
`Note:` To cut the build time in half and package only the optimized (stripped) version of the runtime package comment out 'tasks.generateRuntimeAar.execute()' in the [build.gradle](https://github.com/NativeScript/android-runtime/blob/v3.0.0-rc.1/build.gradle#L114) script.
49+
3750
# How to run tests
3851

3952
* Go to subfolder test-app after you built the runtime.
@@ -42,5 +55,5 @@ gradlew build
4255
``Note: Keep in mind the device or emulator needs to have an sdcard mounted.``
4356
* Run command
4457
```Shell
45-
gradle runtest
58+
gradlew runtest
4659
```

0 commit comments

Comments
 (0)