summaryrefslogtreecommitdiff
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authorKyle VanderBeek <kylev@kylev.com>2024-03-09 20:07:51 +0000
committerKyle VanderBeek <kylev@kylev.com>2024-03-09 20:07:51 +0000
commite424e9f6c78ec54c5a91b942398f7012f46f6c90 (patch)
treee8a5f98d45bb25796808793b7ec17dc4bddb9714 /.devcontainer/devcontainer.json
parent11f0fd7fd9673996d8d2381ade1a371f945f1875 (diff)
Add target directory to $PATH
Makes the pre-built command work in the shell right away.
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 59f9571..643021a 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,6 +1,9 @@
{
"image": "mcr.microsoft.com/devcontainers/rust:1",
"updateContentCommand": "cargo build",
+ "remoteEnv": {
+ "PATH": "${containerEnv:PATH}:${containerWorkspaceFolder}/target/debug"
+ },
"customizations": {
"vscode": {
"extensions": [