Fix the casing of the modulesPath argument; update the readme

This commit is contained in:
Erjan Gavalji
2015-10-26 15:02:47 +02:00
parent 0445173757
commit cfb6c41542
2 changed files with 4 additions and 1 deletions

View File

@ -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"),

View File

@ -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