bump revsion

This commit is contained in:
adelphes
2017-01-22 17:15:22 +00:00
parent 568d8f429f
commit 294fc5ed6f

View File

@@ -2,7 +2,7 @@
"name": "android-dev-ext", "name": "android-dev-ext",
"displayName": "Android", "displayName": "Android",
"description": "Android debugging support for VS Code", "description": "Android debugging support for VS Code",
"version": "0.1.0", "version": "0.1.1",
"publisher": "adelphes", "publisher": "adelphes",
"preview": true, "preview": true,
"license": "MIT", "license": "MIT",
@@ -12,94 +12,93 @@
"categories": [ "categories": [
"Debuggers" "Debuggers"
], ],
"icon": "images/ade.png", "icon": "images/ade.png",
"galleryBanner": { "galleryBanner": {
"color": "#5c2d91", "color": "#5c2d91",
"theme": "dark" "theme": "dark"
}, },
"activationEvents": [ "activationEvents": [],
],
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://github.com/adelphes/android-dev-ext" "url": "https://github.com/adelphes/android-dev-ext"
}, },
"main": "./extension", "main": "./extension",
"contributes": { "contributes": {
"commands": [ "commands": [],
],
"breakpoints": [ "breakpoints": [
{ {
"language": "java" "language": "java"
} }
], ],
"debuggers": [{ "debuggers": [
"type": "android", {
"label": "Android Debug", "type": "android",
"program": "./src/debugMain.js", "label": "Android Debug",
"runtime": "node", "program": "./src/debugMain.js",
"runtime": "node",
"configurationAttributes": { "configurationAttributes": {
"launch": { "launch": {
"required": ["appSrcRoot","apkFile","adbPort"], "required": [
"properties": { "appSrcRoot",
"appSrcRoot": { "apkFile",
"type": "string", "adbPort"
"description": "Location of the App source files. This value must point to the root of your App source tree (containing AndroidManifest.xml)", ],
"default": "${workspaceRoot}/app/src/main" "properties": {
}, "appSrcRoot": {
"apkFile": { "type": "string",
"type": "string", "description": "Location of the App source files. This value must point to the root of your App source tree (containing AndroidManifest.xml)",
"description": "Fully qualified path to the built APK (Android Application Package)", "default": "${workspaceRoot}/app/src/main"
"default": "${workspaceRoot}/app/build/outputs/apk/app-debug.apk" },
}, "apkFile": {
"adbPort": { "type": "string",
"type": "integer", "description": "Fully qualified path to the built APK (Android Application Package)",
"description": "Port number to connect to the local ADB (Android Debug Bridge) instance. Default: 5037", "default": "${workspaceRoot}/app/build/outputs/apk/app-debug.apk"
"default": 5037 },
}, "adbPort": {
"staleBuild": { "type": "integer",
"type": "string", "description": "Port number to connect to the local ADB (Android Debug Bridge) instance. Default: 5037",
"description": "Launch behaviour if source files have been saved after the APK was built. One of: [\"ignore\" \"warn\" \"stop\"]. Default: \"warn\"", "default": 5037
"default": "warn" },
}, "staleBuild": {
"targetDevice": { "type": "string",
"type": "string", "description": "Launch behaviour if source files have been saved after the APK was built. One of: [\"ignore\" \"warn\" \"stop\"]. Default: \"warn\"",
"description": "Target Device ID (as indicated by 'adb devices'). Use this to specify which device is used for deployment when multiple devices are connected.", "default": "warn"
"default": "" },
"targetDevice": {
"type": "string",
"description": "Target Device ID (as indicated by 'adb devices'). Use this to specify which device is used for deployment when multiple devices are connected.",
"default": ""
}
} }
} }
} },
}, "initialConfigurations": [
{
"initialConfigurations": [
{
"type": "android",
"name": "Android Debug",
"request": "launch",
"appSrcRoot": "${workspaceRoot}/app/src/main",
"apkFile": "${workspaceRoot}/app/build/outputs/apk/app-debug.apk",
"adbPort": 5037
}
],
"configurationSnippets": [
{
"label": "Android: Launch Configuration",
"description": "A new configuration for launching an Android app debugging session",
"body": {
"type": "android", "type": "android",
"name": "Android Debug",
"request": "launch", "request": "launch",
"name": "${2:Launch App}", "appSrcRoot": "${workspaceRoot}/app/src/main",
"appSrcRoot": "^\"\\${workspaceRoot}/app/src/main\"", "apkFile": "${workspaceRoot}/app/build/outputs/apk/app-debug.apk",
"apkFile": "^\"\\${workspaceRoot}/app/build/outputs/apk/app-debug.apk\"",
"adbPort": 5037 "adbPort": 5037
} }
} ],
], "configurationSnippets": [
{
"variables": { "label": "Android: Launch Configuration",
"description": "A new configuration for launching an Android app debugging session",
"body": {
"type": "android",
"request": "launch",
"name": "${2:Launch App}",
"appSrcRoot": "^\"\\${workspaceRoot}/app/src/main\"",
"apkFile": "^\"\\${workspaceRoot}/app/build/outputs/apk/app-debug.apk\"",
"adbPort": 5037
}
}
],
"variables": {}
} }
}] ]
}, },
"scripts": { "scripts": {
"postinstall": "node ./node_modules/vscode/bin/install", "postinstall": "node ./node_modules/vscode/bin/install",
@@ -107,7 +106,7 @@
}, },
"dependencies": { "dependencies": {
"vscode-debugprotocol": "^1.15.0", "vscode-debugprotocol": "^1.15.0",
"vscode-debugadapter": "^1.15.0", "vscode-debugadapter": "^1.15.0",
"xmldom": "^0.1.27", "xmldom": "^0.1.27",
"xpath": "^0.0.23" "xpath": "^0.0.23"
}, },