Last active
October 4, 2018 18:55
-
-
Save Geri-Borbas/e566781bb20abf6df09469515d07ae83 to your computer and use it in GitHub Desktop.
VS Code tasks to build and test (!) with Unity. See https://gist.github.com/eppz/ad4fb8d64bdcb0c50a6abea57716823e for test.comman.
This file contains hidden or 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": "2.0.0", | |
"tasks": | |
[ | |
{ | |
"taskName": "Build", | |
"isBuildCommand": true, | |
"command": "/Applications/Unity/Unity.app/Contents/MonoBleedingEdge/bin/xbuild", | |
"args": | |
[ | |
"Project.sln", | |
"/property:GenerateFullPaths=true" | |
], | |
"showOutput": "silent", | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"taskName": "Test", | |
"isShellCommand": true, | |
"isTestCommand": true, | |
"command": ".vscode/test.command", | |
"args": | |
[ | |
"${workspaceRoot}", | |
"Project.TestResult.xml" | |
], | |
"dependsOn": [ "Build" ], | |
"showOutput": "always" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment