diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9ddcd4f..372a732 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -66,6 +66,32 @@ "presentation": { "reveal": "always" } + }, + { + "label": "RunDebugApp", + "type": "shell", + "command": "adb shell am start com.cege.games.release/.MainActivity", + "windows": { + "command": "adb shell am start com.cege.games.release/.MainActivity " + }, + "group": "test", + "presentation": { + "reveal": "always" + }, + }, + { + "label": "ShowDebugLogcat", + "type": "shell", + "command": "adb logcat --pid=`adb shell ps | grep com.cege.games.release | awk '{print $2}'`", + "group": "test", + "presentation": { + "reveal": "always" + }, + }, + { + "label": "Build&Run", + "dependsOrder": "sequence", + "dependsOn": ["BuildDebugApp", "InstallDebugApp", "RunDebugApp", "ShowDebugLogcat"] } ] } \ No newline at end of file