Created
December 10, 2016 04:58
-
-
Save adback03/ed67f223475dc94990aec76d713b1da6 to your computer and use it in GitHub Desktop.
Sample tasks.json with multiple commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.1.0", | |
"windows": { | |
"command": "cmd", | |
"args": [ | |
"/C" | |
], | |
"isShellCommand": true | |
}, | |
"linux": { | |
"command": "sh", | |
"args": [ | |
"-c" | |
], | |
"isShellCommand": true | |
}, | |
"osx": { | |
"command": "sh", | |
"args": [ | |
"-c" | |
], | |
"isShellCommand": true | |
}, | |
"tasks": [ | |
{ | |
"taskName": "build", | |
"suppressTaskName": true, | |
"args": [ | |
"dotnet build" | |
], | |
"isBuildCommand": true, | |
"showOutput": "always", | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"taskName": "restore", | |
"suppressTaskName": true, | |
"args": [ | |
"dotnet restore" | |
] | |
}, | |
{ | |
"taskName": "npm install", | |
"suppressTaskName": true, | |
"args": [ | |
"npm install" | |
] | |
}, | |
{ | |
"taskName": "compile typescript", | |
"suppressTaskName": true, | |
"args": [ | |
"tsc -p ." | |
], | |
"isBuildCommand": true | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment