Skip to content

Commit d4abc5a

Browse files
authored
Merge pull request #19 from 10XL/patch-1
add "build" support for windows through wsl
2 parents d60e30d + 035856f commit d4abc5a

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Crystal.sublime-build

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
{
2-
"shell_cmd": "crystal \"$file\"",
2+
"cmd": ["crystal", "\"$file\""],
3+
"shell": true,
34
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
4-
"selector": "source.crystal"
5+
"selector": "source.crystal",
6+
"windows": {
7+
"cmd": ["bash", "-c", "crystal \"$file_name\""]
8+
}
59
}

0 commit comments

Comments
 (0)