Skip to content

Commit

Permalink
Add support for using MinGW on Windows to run Bash scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
macite committed Nov 11, 2013
1 parent f0ecbaf commit d627d5a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Bash.sublime-build
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
{
"cmd" : ["bash", "$file"],
"selector" : "source.shell"
"selector" : "source.shell",

"windows": {
"path" : "$path;c:\\mingw\\bin;c:\\mingw\\msys\\1.0\\bin",
"cmd" : ["bash", "--login", "-i", "-c", "cd \"$file_path\"; \"$file\""]
}
}

0 comments on commit d627d5a

Please sign in to comment.