Updated to allow running in VSCode

This commit is contained in:
Justin C. Miller
2017-02-20 23:34:39 -08:00
parent e6dcdda6b9
commit 7bd6225164
2 changed files with 33 additions and 1 deletions

28
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,28 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"tasks": [
{
"taskName": "make",
"command": "make.bat",
"isBuildCommand": true
},
{
"taskName": "clean",
"command": "make.bat",
"args": [ "clean" ],
"isShellCommand": true
},
{
"taskName": "qemu (windowed)",
"command": "qemu-win.bat",
"showOutput": "never",
"isTestCommand": true
},
{
"taskName": "qemu",
"command": "qemu.bat"
}
]
}

View File

@@ -1,2 +1,6 @@
@echo off @echo off
bash -c "make %*" if exist C:\Windows\Sysnative\bash.exe (
C:\Windows\Sysnative\bash.exe -c "make %*"
) else (
C:\Windows\System32\bash.exe -c "make %*"
)