Last active
May 28, 2017 10:22
-
-
Save Krelborn/c16ada990fc24a776a14e350f55715e4 to your computer and use it in GitHub Desktop.
Running Ant based tasks in VS Code on Windows with Bash
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
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "0.1.0", | |
"command": "C:/Windows/sysnative/bash.exe", | |
"isShellCommand": true, | |
"showOutput": "always", | |
"args":[ | |
"--login", | |
"ant", | |
"-buildfile", | |
// Unix based path to build file here e.g. /mnt/c/Users/username/Sources/BuildScripts/build.xml | |
], | |
"tasks": [ | |
{ | |
"taskName": "build.all", | |
"isBuildCommand": true | |
}, | |
{ | |
"taskName": "clean" | |
}, | |
{ | |
"taskName": "tests.copy" | |
}, | |
{ | |
"taskName": "tests.run" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment