Skip to content
This repository
Browse code

Updated RSpec.sublime-build to only call rspec.bat if on Windows for …

…x-platform compatibility
  • Loading branch information...
commit 042517d30c9ca6ef933e512f4fd1d1d91634232a 1 parent 981e3cc
Greg Williams barneywilliams authored

Showing 1 changed file with 9 additions and 4 deletions. Show diff stats Hide diff stats

  1. +9 4 RSpec.sublime-build
13 RSpec.sublime-build
... ... @@ -1,6 +1,11 @@
1 1 {
2   - "cmd": ["rspec", "$file"],
3   - "file_regex": "# ([A-Za-z0-9_./ ]+rb):([0-9]+)",
4   - "working_dir": "${folder}",
5   - "selector": "source.ruby"
  2 + "cmd": ["rspec", "-I ${file_path}", "$file"],
  3 + "file_regex": "# ([A-Za-z:0-9_./ ]+rb):([0-9]+)",
  4 + "working_dir": "${file_path}",
  5 + "selector": "source.ruby",
  6 +
  7 + "windows":
  8 + {
  9 + "cmd": ["rspec.bat", "-I ${file_path}", "$file"]
  10 + }
6 11 }

0 comments on commit 042517d

Please sign in to comment.
Something went wrong with that request. Please try again.