Fix the build

This commit is contained in:
Erjan Gavalji
2015-10-19 14:11:13 +03:00
parent af16da3b4b
commit 90f3594a60

View File

@@ -7,7 +7,7 @@ module.exports = {
androidRuntimePath:"/Users/erjan/tns-android.tgz", androidRuntimePath:"/Users/erjan/tns-android.tgz",
outfile:"./TestRunResult.txt", outfile:"./TestRunResult.txt",
workingDir=".testsapprun", workingDir:".testsapprun",
testsAppName:"TestsApp", testsAppName:"TestsApp",
pathToApk:"./platforms/android/build/outputs/apk/TestsApp-debug.apk", pathToApk:"./platforms/android/build/outputs/apk/TestsApp-debug.apk",
deployedAppName:"org.nativescript.$testsAppName", deployedAppName:"org.nativescript.$testsAppName",
@@ -21,13 +21,13 @@ module.exports = {
} }
}, },
mkdir: { mkdir: {
workindDir: { workingDir: {
options: { options: {
create [localCfg.workingDir], createi: [localCfg.workingDir],
mode: 0700 mode: 0700
} }
} }
} },
exec: { exec: {
killEmulator: { killEmulator: {
cmd: "pkill '" + localCfg.emulatorProcessIdentifier + "'", cmd: "pkill '" + localCfg.emulatorProcessIdentifier + "'",
@@ -35,8 +35,7 @@ module.exports = {
}, },
runTestsApp: { runTestsApp: {
cmd: "./runtestsapp.sh", cmd: "./runtestsapp.sh",
stdout: false, stdout: false
cwd: "../"
} }
} }
}); });
@@ -55,7 +54,7 @@ module.exports = {
"clean:workingDir", "clean:workingDir",
"mkdir:workingDir", "mkdir:workingDir",
"exec:killEmulator", "exec:killEmulator",
"exec:runTestsApp", // "exec:runTestsApp",