mirror of
https://github.com/dimalo/klipper-web-control-docker.git
synced 2026-05-06 18:27:36 +02:00
update .gitignore & add vscode build & run tasks
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
printer.cfg
|
||||
!config/printer.cfg
|
||||
.config
|
||||
.config
|
||||
build
|
||||
25
.vscode/tasks.json
vendored
Normal file
25
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build Klipper Image",
|
||||
"type": "shell",
|
||||
"command": "docker build --pull --rm -f '${workspaceFolder}/klipper/Dockerfile' -t dimalo/klipper-moonraker:next ${workspaceFolder}",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"label": "Run Klipper Image",
|
||||
"type": "shell",
|
||||
"command": "docker run -it --rm --cap-add SYS_NICE dimalo/klipper-moonraker:next",
|
||||
"group": {
|
||||
"kind": "none",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user