aboutsummaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-03 18:32:24 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-11-06 15:35:18 +0100
commitc35d7a0fc8bbb1f9123bb41a7b66e45ea2564dd2 (patch)
tree38e0ab51a68548bb61cf6ca0de01a268f41a5701 /.vscode
Initial commitv0.0.1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json87
-rw-r--r--.vscode/settings.json26
2 files changed, 113 insertions, 0 deletions
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"
+ ]
+}