Skip to content

Commit e1aad6d

Browse files
author
Ben Greenberg
committed
cargo build path in devcontainer
1 parent 1b0a24b commit e1aad6d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@
88
]
99
}
1010
},
11-
"postCreateCommand": "npm install && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && PATH=\"$HOME/.cargo/bin:$PATH\" && git clone https://github.com/couchbaselabs/couchbase-shell.git && cargo build --path ./couchbase-shell && echo 'export PATH=$(pwd)/couchbase-shell/target/debug:$PATH' >> ~/.bashrc && source ~/.bashrc",
11+
"postCreateCommand": "npm install && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && PATH=\"$HOME/.cargo/bin:$PATH\" && git clone https://github.com/couchbaselabs/couchbase-shell.git && cd couchbase-shell && cargo build && cd .. && echo 'export PATH=$(pwd)/couchbase-shell/target/debug:$PATH' >> ~/.bashrc && source ~/.bashrc",
1212
"features": {
1313
"ghcr.io/devcontainers/features/node:1": {}
1414
}
1515
}
16+

0 commit comments

Comments
 (0)