From 4678938f9d9872a753c490b0a66d5d600426ab5d Mon Sep 17 00:00:00 2001 From: copygirl Date: Wed, 28 Apr 2021 09:27:50 +0200 Subject: [PATCH] Add build task --- .vscode/launch.json | 3 ++- .vscode/tasks.json | 16 ++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json index c616285..654ff83 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -4,7 +4,8 @@ "name": "Play in Editor", "type": "godot-mono", "mode": "playInEditor", - "request": "launch" + "request": "launch", + "preLaunchTask": "build" },{ "name": "Launch (Linux)", "type": "godot-mono", diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..8fc147f --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,16 @@ +{ + "version": "2.0.0", + "tasks": [{ + "group": "build", + "label": "build", + "type": "shell", + "command": "msbuild", + "args": [ + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary", + "/t:build", + ], + "presentation": { "reveal": "silent" }, + "problemMatcher": "$msCompile" + }] +}