mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-15 11:01:21 +08:00
Fix the casing of the modulesPath argument; update the readme
This commit is contained in:
@ -8,7 +8,7 @@ module.exports = {
|
|||||||
//Construct and validate the arguments
|
//Construct and validate the arguments
|
||||||
var args = {
|
var args = {
|
||||||
platform: grunt.option("platform"),
|
platform: grunt.option("platform"),
|
||||||
modulesPath: grunt.option("modulespath"),
|
modulesPath: grunt.option("modulesPath"),
|
||||||
tnsPath: grunt.option("tnsPath"),
|
tnsPath: grunt.option("tnsPath"),
|
||||||
emulatorProcessIdentifier: grunt.option("emuPId"),
|
emulatorProcessIdentifier: grunt.option("emuPId"),
|
||||||
emuAvdName: grunt.option("avd"),
|
emuAvdName: grunt.option("avd"),
|
||||||
|
@ -35,6 +35,9 @@ split to a separate file for simplicity.
|
|||||||
- `platform`: The platform to run the tests application on: iOS or Android
|
- `platform`: The platform to run the tests application on: iOS or Android
|
||||||
- `showEmu`: [Optional] Specifies whether the emulator should get launched
|
- `showEmu`: [Optional] Specifies whether the emulator should get launched
|
||||||
in a window or headless mode. Defaults to `false`.
|
in a window or headless mode. Defaults to `false`.
|
||||||
|
- `modulesPath`: [Optional] The path to the tns-core-modules npm package
|
||||||
|
to be tested. Defaults to the npm package, located in the current
|
||||||
|
`bin/dist/` folder. The modules must have been built before that.
|
||||||
- `tnsPath`: [Optional] The path to the NativeScript executable. If not
|
- `tnsPath`: [Optional] The path to the NativeScript executable. If not
|
||||||
found, the globally installed `tns` gets called.
|
found, the globally installed `tns` gets called.
|
||||||
- `emuPId`: The ID of the emulator process. This one is used to refresh the
|
- `emuPId`: The ID of the emulator process. This one is used to refresh the
|
||||||
|
Reference in New Issue
Block a user