From c35d7a0fc8bbb1f9123bb41a7b66e45ea2564dd2 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 3 Nov 2017 18:32:24 +0100 Subject: Initial commit Signed-off-by: Sebastien Douheret --- .vscode/launch.json | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 26 +++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json (limited to '.vscode') diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6978301 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,87 @@ +{ + "version": "0.2.0", + "configurations": [{ + "name": "xds-cli (version)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "env": { + "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "XDS_APPNAME": "xds-cli", + "XDS_SERVER_URL": "localhost:8800", + "XDS_LOGLEVEL": "debug" + }, + "args": ["misc", "version"], + "showLog": false + }, + { + "name": "xds-cli (list)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "env": { + "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "XDS_APPNAME": "xds-cli", + "XDS_SERVER_URL": "localhost:8800", + "XDS_LOGLEVEL": "debug" + }, + "args": ["sdks", "list"], + "showLog": false + }, + { + "name": "xds-cli (add Projects)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "env": { + "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "XDS_APPNAME": "xds-cli", + "XDS_SERVER_URL": "localhost:8800", + "XDS_LOGLEVEL": "debug" + }, + "args": ["prj", "add", + "-type", "pm", + "-path", "/home/seb/xds-workspace/test1", + "-server-path", "/home/seb/xds-workspace/test1" + ], + "showLog": false + }, + { + "name": "xds-cli (exec Projects)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "env": { + "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "XDS_APPNAME": "xds-cli", + "XDS_SERVER_URL": "localhost:8800", + "XDS_LOGLEVEL": "debug" + }, + "args": ["exec", + "-id", "IW7B4EE-DBY4Z74_Agent-TCF", + "-rpath", "build", + "pwd && ls .." + ], + "showLog": false + }, + { + "name": "xds-cli (with xds-config.env)", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceRoot}", + "env": { + "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}", + "XDS_APPNAME": "xds-cli", + "XDS_LOGLEVEL": "debug" + }, + "args": ["-c", "xds-config-sample.env", "sdks", "ls"], + "showLog": false + } + + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..a659df9 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,26 @@ +// Place your settings in this file to overwrite default and user settings. +{ + // Configure glob patterns for excluding files and folders. + "files.exclude": { + "**/.tmp": true, + ".git": true, + "glide.lock": true, + "vendor": true, + "debug": true, + "bin": true, + "tools": true + }, + // Words to add to dictionary for a workspace. + "cSpell.words": [ + "apiv", + "iosk", + "zhouhui", + "ldflags", + "socketio", + "xdsconfig", + "sdkid", + "godotenv", + "crosssdk", + "prjs" + ] +} -- cgit 1.2.3-korg