From 0ba7659dea6f1a57cb1a6ccc87220f39f20e9506 Mon Sep 17 00:00:00 2001 From: fruitstaa Date: Thu, 6 Dec 2018 06:46:35 +0100 Subject: [PATCH] os command fix --- .vscode/tasks.json | 36 ++++++++++++++++++++++++++++-------- 1 file changed, 28 insertions(+), 8 deletions(-) diff --git a/.vscode/tasks.json b/.vscode/tasks.json index e3d5588..0d15923 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -12,26 +12,46 @@ { "label": "Run Exercise 1", "type": "shell", - "command": "build/bin/./Exercise1", - "problemMatcher": [] + "problemMatcher": [], + "osx": { + "command": "open build/bin/Exercise1.app" + }, + "linux": { + "command": "build/bin/./Exercise1", + } }, { "label": "Run Exercise 2", "type": "shell", - "command": "build/bin/./Exercise2", - "problemMatcher": [] + "problemMatcher": [], + "osx": { + "command": "open build/bin/Exercise2.app" + }, + "linux": { + "command": "build/bin/./Exercise2", + } }, { "label": "Run Exercise 3", "type": "shell", - "command": "build/bin/./Exercise3", - "problemMatcher": [] + "problemMatcher": [], + "osx": { + "command": "open build/bin/Exercise3.app" + }, + "linux": { + "command": "build/bin/./Exercise3", + } }, { "label": "Run Exercise 4", "type": "shell", - "command": "build/bin/./Exercise4", - "problemMatcher": [] + "problemMatcher": [], + "osx": { + "command": "open build/bin/Exercise4.app" + }, + "linux": { + "command": "build/bin/./Exercise4", + } } ] } \ No newline at end of file