mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
vscode build task
This commit is contained in:
parent
efd96e604c
commit
666d605e22
1 changed files with 19 additions and 0 deletions
19
.vscode/tasks.json
vendored
Normal file
19
.vscode/tasks.json
vendored
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build System",
|
||||
"type": "shell",
|
||||
// TODO: Run in tmux (for those cases which kills X server)
|
||||
"command": "sudo",
|
||||
"args": ["nixos-rebuild", "switch"],
|
||||
"problemMatcher": [],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue