Skip to content
Permalink
Browse files
[Truffle] Get the Truffle specs running on Windows.
  • Loading branch information
nirvdrum committed Dec 31, 2014
1 parent 4710b5f commit 7e36e146f7d9c2274ecaf84bb8ecd6b290b280e8
Showing with 13 additions and 1 deletion.
  1. +8 −0 spec/truffle/spec-wrapper.bat
  2. +5 −1 spec/truffle/truffle.mspec
@@ -0,0 +1,8 @@
@bin\jruby -X+T ^
-Xparser.warn.useless_use_of=false ^
-Xparser.warn.not_reached=false ^
-Xparser.warn.grouped_expressions=false ^
-Xparser.warn.shadowing_local=false ^
-Xparser.warn.regex_condition=false ^
-Xparser.warn.argument_prefix=false ^
-J-ea -J-Xmx2G %*
@@ -1,6 +1,10 @@
class MSpecScript

set :target, File.dirname(__FILE__) + '/spec-wrapper'
def self.windows?
ENV.key?('WINDIR') || ENV.key?('windir')
end

set :target, File.join(File.dirname(__FILE__), "spec-wrapper#{windows? ? '.bat' : ''}")

set :language, [
"spec/ruby/language"

0 comments on commit 7e36e14

Please sign in to comment.