From 7038e12c3e4ee4284495018546a88e98df891a00 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Tue, 27 Sep 2022 18:10:23 +0200 Subject: move windows-specific vscode config --- .vscode/tasks.json | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) (limited to '.vscode/tasks.json') diff --git a/.vscode/tasks.json b/.vscode/tasks.json index fcf4120..2bffcc7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,11 +1,13 @@ { "version": "2.0.0", - "options": { - "cwd": "${workspaceFolder}", - "shell": { - "executable": "C:/msys64/msys2_shell.cmd", - "args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ], - } + "windows": { + "options": { + "cwd": "${workspaceFolder}", + "shell": { + "executable": "C:/msys64/msys2_shell.cmd", + "args": [ "-defterm", "-no-start", "-mingw64", "-shell", "sh", "-here", "-c" ] + }, + }, }, "tasks": [ { @@ -26,8 +28,12 @@ "kind": "test" }, "options": { "cwd": "${workspaceFolder}/stm32f091" }, - "command": "make flash", - "args": [ "" ], + "windows": { + "command": "make flash", + "args": [ "" ], + }, + "command": "make", + "args": [ "flash" ], "type": "shell" }, { @@ -37,8 +43,12 @@ "kind": "test" }, "options": { "cwd": "${workspaceFolder}/stm32f091" }, - "command": "make compile_commands", - "args": [ "" ], + "windows": { + "command": "make compile_commands", + "args": [ "" ], + }, + "command": "make", + "args": [ "compile_commands" ], "type": "shell" } ] -- cgit v1.2.3