Skip to content

Commit

Permalink
Updated RSpec.sublime-build to only call rspec.bat if on Windows for …
Browse files Browse the repository at this point in the history
…x-platform compatibility
  • Loading branch information
barneywilliams committed Feb 21, 2012
1 parent 981e3cc commit 042517d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions RSpec.sublime-build
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"cmd": ["rspec", "$file"],
"file_regex": "# ([A-Za-z0-9_./ ]+rb):([0-9]+)",
"working_dir": "${folder}",
"selector": "source.ruby"
"cmd": ["rspec", "-I ${file_path}", "$file"],
"file_regex": "# ([A-Za-z:0-9_./ ]+rb):([0-9]+)",
"working_dir": "${file_path}",
"selector": "source.ruby",

"windows":
{
"cmd": ["rspec.bat", "-I ${file_path}", "$file"]
}
}

0 comments on commit 042517d

Please sign in to comment.