mirror of
https://github.com/meshtastic/firmware.git
synced 2025-02-01 10:19:59 +00:00
8847945734
devcontainers can be used by IDEs/editors like VS Code to create a standardized development environment in a container
29 lines
748 B
JSON
29 lines
748 B
JSON
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
|
|
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
|
|
{
|
|
"name": "Meshtastic Firmware Dev",
|
|
"build": {
|
|
"dockerfile": "Dockerfile"
|
|
},
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/python:1": {
|
|
"installTools": true,
|
|
"version": "latest"
|
|
}
|
|
},
|
|
"customizations": {
|
|
"vscode": {
|
|
"extensions": [
|
|
"ms-vscode.cpptools",
|
|
"platformio.platformio-ide",
|
|
]
|
|
}
|
|
},
|
|
|
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
|
"forwardPorts": [ 4403 ],
|
|
|
|
// Run commands to prepare the container for use
|
|
"postCreateCommand": ".devcontainer/setup.sh",
|
|
}
|