From 292186d2322bef42d5cd83cecf668475fa3dec13 Mon Sep 17 00:00:00 2001 From: Chidi Williams Date: Sun, 25 Sep 2022 12:25:02 +0100 Subject: [PATCH] Add build task --- .vscode/tasks.json | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..c08cb02e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,27 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "type": "shell", + "command": "source venv/bin/activate; make", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "run", + "type": "shell", + "command": "source venv/bin/activate; python main.py", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ] +}