mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Fix the build
This commit is contained in:
@@ -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",
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user