From 666d605e221514c00f8f87b422bcf7b9a7352613 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Fri, 16 Apr 2021 15:08:05 -0400 Subject: [PATCH] vscode build task --- .vscode/tasks.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..e7b2664 --- /dev/null +++ b/.vscode/tasks.json @@ -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 + } + } + ] +} \ No newline at end of file