Skip to content

Instantly share code, notes, and snippets.

@JulesMoorhouse
Last active December 8, 2019 09:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JulesMoorhouse/dec4bed136aba850cd21084cd5e34a23 to your computer and use it in GitHub Desktop.
Save JulesMoorhouse/dec4bed136aba850cd21084cd5e34a23 to your computer and use it in GitHub Desktop.
Visual Studio Code - Build script which runs a shell script task then launches the file (html) in the default browser (aka safari)
{
"version": "2.0.0",
"tasks": [
{
"label" : "Launch",
"command": "open",
"args": ["/Users/jm/Dropbox/Code_ObjC/Screenshots/Scripting/STT_V2_HD/Output/index.html"],
"dependsOn":["Build with Merge script"],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build with Merge script",
"type": "shell",
"command": "sh merge.sh",
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment