diff --git a/gruntfile.js b/gruntfile.js index a616fc8ce..ccf174b34 100644 --- a/gruntfile.js +++ b/gruntfile.js @@ -365,31 +365,9 @@ module.exports = function(grunt) { mochaNode: { cmd: "grunt simplemocha:node" }, - setupTestsApp: { + runTestsApp: { cmd: "./runtestsapp.sh" } -// setupTestsApp: { -////TODO: TNS PATH MIGHT GET PASSED FROM OUTSIDE! -// cmd: [ -// 'pkill ".*emulator64-arm" && true', -// "emulator -avd Api19 -no-skin -no-audio &", -//// "emulator -avd Api19 -no-skin -no-audio -no-window &", -// "tns create TestsApp", -// "cd TestsApp", -// "rm app/*.*", -// "cp -r " + pathModule.join(localCfg.outAppsDir, "tests") + "/* ./app/", -// "tns platform add android", -////TODO: DO THE REPLACEMENTS IN THE Info.plist and AndroidManifest.xml -// "tns build android", -// -// "adb kill-server", -// "adb start-server", -// -// "adb install ./platforms/android/build/outputs/apk/TestsApp-debug.apk", -// "adb shell am start -n org.nativescript.TestsApp/com.tns.NativeScriptActivity", -//// "expect -c ' -// ].join(" && ") -// } }, multidest: { copyLicenseFiles: { @@ -584,6 +562,6 @@ module.exports = function(grunt) { ]); grunt.registerTask("testsapp", [ - "exec:setupTestsApp" + "exec:runTestsApp" ]); };