Skip to content

Commit 2ca1030

Browse files
authored
Automatically Execute ide_support Command (#157)
* auto-execute ide_support command
1 parent bfd324d commit 2ca1030

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"name": "eclipse-s-core",
33
"image": "ghcr.io/eclipse-score/devcontainer:latest",
4-
"initializeCommand": "mkdir -p ${localEnv:HOME}/.cache/bazel"
4+
"initializeCommand": "mkdir -p ${localEnv:HOME}/.cache/bazel",
5+
"postCreateCommand": "bazel run //src:ide_support"
56
}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
},
2424
//
2525
//
26+
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
2627
"python.testing.pytestArgs": [
2728
".",
2829
"--ignore-glob=bazel-*/*",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bazel run //docs:incremental_latest
2626

2727
#### Getting IDE support
2828

29-
Create the virtual environment via `bazel run //process:ide_support`.\
29+
Create the virtual environment via `bazel run //src:ide_support`.\
3030
If your IDE does not automatically ask you to activate the newly created environment you can activate it.
3131

3232
- In VSCode via `ctrl+p` => `Select Python Interpreter` then select `.venv/bin/python`

0 commit comments

Comments
 (0)