Skip to content

Commit

Permalink
Add devcontainer (#359)
Browse files Browse the repository at this point in the history
Summary:
Add devcontainer

So that one merely needs to open the project in a supported editor (vscode, github) and the editor will pop up a prompt for "would you like to develop this project inside the container?", and if you click yes then you are straight into a known-good dev environment where you can run "make" and run all the tests

Pull Request resolved: #359

Reviewed By: deathowl

Differential Revision: D55368115

Pulled By: shish

fbshipit-source-id: 1c987d70c51947ccf2a49502953c1c260ffe82f1
  • Loading branch information
shish authored and facebook-github-bot committed Mar 26, 2024
1 parent 86a7124 commit 16fac3e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .devcontainer/devcontainer.json
@@ -0,0 +1,19 @@
{
"name": "TestSlide",
"build": {
"context": "..",
"dockerfile": "../Dockerfile"
},

"workspaceMount": "source=${localWorkspaceFolder},target=/root/src/TestSlide,type=bind",
"workspaceFolder": "/root/src/TestSlide",
"customizations": {
"vscode": {
"extensions": [
"ms-azuretools.vscode-docker",
"ms-vscode.makefile-tools",
"ms-python.python"
]
}
}
}

0 comments on commit 16fac3e

Please sign in to comment.