summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-20 23:31:49 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-20 23:44:19 +0200
commitf95f219c20ec7d67b11c011dff84da74a7fd63de (patch)
treea3417b667a1bfa034f5189dc4404922db57e63a7 /.vscode
parenta098df593027d6f68612e05c4317287520794a1a (diff)
Update GOPATH in VSCode project (now in gerrit)
xds-gdb sources was previously in github (github.com/iotbzh/xds-gdb) and then sources have been migrated into AGL gerrit (gerrit.automotivelinux.org/gerrit/src/xds/xds-gdb) So GOPATH must be change accordingly. Change-Id: Ibb62e63fe499d054b7deb171222b79e53d9f899e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/launch.json8
-rw-r--r--.vscode/settings.json3
2 files changed, 7 insertions, 4 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index 6e0c820..70f4f8e 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -9,7 +9,7 @@
"mode": "debug",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
"XDS_LOGLEVEL": "debug"
},
"args": ["-tt", "--help", "--version"],
@@ -22,7 +22,7 @@
"mode": "debug",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
"XDS_LOGLEVEL": "debug"
},
"args": ["-x", "${workspaceRoot}/__config/gdb-on-target.ini", "-nx"],
@@ -35,7 +35,7 @@
"mode": "debug",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}"
+ "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
},
"args": ["-tty", "/dev/pts27", "-nx", "-x", "${workspaceRoot}/__config/gdb-on-m3ulcb_debug_pi.ini"],
"showLog": false
@@ -47,7 +47,7 @@
"mode": "debug",
"program": "${workspaceRoot}",
"env": {
- "GOPATH": "${workspaceRoot}/../../../..:${env:GOPATH}",
+ "GOPATH": "${workspaceRoot}/../../../../../..:${env:GOPATH}",
"XDS_LOGLEVEL": "debug"
},
"args": ["-x", "${workspaceRoot}/__config/gdb-on-localhost_debug_pi.ini"],
diff --git a/.vscode/settings.json b/.vscode/settings.json
index 16b3a00..8c1f563 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -1,5 +1,8 @@
// Place your settings in this file to overwrite default and user settings.
{
+ // Specify GOPATH here to override the one that is set as environment variable. The inferred GOPATH from workspace root overrides this, if go.inferGopath is set to true.
+ "go.gopath": "${workspaceRoot}/../../../../../..",
+
// Configure glob patterns for excluding files and folders.
"files.exclude": {
"**/.tmp": true,