add automation for running in vscode
This commit is contained in:
parent
0ab226a5a4
commit
54cadabe57
28
.vscode/launch.json
vendored
Normal file
28
.vscode/launch.json
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "MkDocs: Serve",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "mkdocs",
|
||||
"args": [
|
||||
"serve"
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
"preLaunchTask": "install-dependencies"
|
||||
},
|
||||
{
|
||||
"name": "MkDocs: Build",
|
||||
"type": "python",
|
||||
"request": "launch",
|
||||
"module": "mkdocs",
|
||||
"args": [
|
||||
"build"
|
||||
],
|
||||
"console": "integratedTerminal",
|
||||
"preLaunchTask": "install-dependencies"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
18
.vscode/tasks.json
vendored
Normal file
18
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "install-dependencies",
|
||||
"type": "shell",
|
||||
"command": "pip install -r requirements.txt",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "dedicated"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user