Skip to content
Permalink
Browse files

Move vscode tasks to repo root

  • Loading branch information...
charlesbetros committed May 7, 2019
1 parent a30e2f6 commit 2fbf5ed774aed5d8347a3675444c81f888978aa5
Showing with 37 additions and 7 deletions.
  1. +4 −4 .vscode/launch.json
  2. +33 −3 .vscode/tasks.json
@@ -5,10 +5,10 @@
"version": "0.2.0",
"configurations": [
{
"name": "XSharp Compiler (netcoreapp2.1)",
"name": "XSharp Compiler (netcoreapp2.0)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"preLaunchTask": "dotnet-build",
"program": "${workspaceFolder}\\source\\XSharp.Compiler\\bin\\Debug\\netcoreapp2.1\\xsc.dll",
"args": [
"..\\..\\playground\\",
@@ -21,10 +21,10 @@
"console": "internalConsole"
},
{
"name": "XSharp Compiler (net471)",
"name": "XSharp Compiler (net472)",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"preLaunchTask": "dotnet-build",
"program": "${workspaceFolder}\\source\\XSharp.Compiler\\bin\\Debug\\net471\\xsc.dll",
"args": [
"..\\..\\playground\\",
@@ -2,18 +2,48 @@
"version": "2.0.0",
"tasks": [
{
"label": "build",
"label": "dotnet-build",
"type": "shell",
"command": "dotnet build",
"args": ["${workspaceFolder}\\source\\XSharp.Compiler\\XSharp.Compiler.csproj"],
"options": {
"cwd": "${workspaceFolder}\\source\\XSharp.Compiler\\"
},
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "silent"
},
"problemMatcher": "$msCompile"
"problemMatcher": [
"$msCompile"
]
},
{
"label": "npm-compile",
"type": "npm",
"script": "compile",
"path": "source/XSharp.VSCode/",
"isBackground": true,
"presentation": {
"reveal": "never",
},
"problemMatcher": [
"$tsc"
]
},
{
"label": "npm-watch",
"type": "npm",
"script": "watch",
"path": "source/XSharp.VSCode/",
"isBackground": true,
"presentation": {
"reveal": "never",
},
"problemMatcher": [
"$tsc"
]
}
]
}

0 comments on commit 2fbf5ed

Please sign in to comment.
You can’t perform that action at this time.