Merge pull request #1162 from mikepenz/feature/devcontainer_update
Improve `devcontainer` setup
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
// "forwardPorts": [],
|
||||
|
||||
// Use 'postCreateCommand' to run commands after the container is created.
|
||||
"postCreateCommand": "npm install",
|
||||
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
|
||||
|
||||
// Configure tool-specific properties.
|
||||
// "customizations": {},
|
||||
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
npm install
|
||||
|
||||
# also install dependencies for `pr-collector`
|
||||
cd pr-collector
|
||||
npm install
|
||||
npm run build && npm run package
|
||||
|
||||
cd ..
|
||||
Reference in New Issue
Block a user