1
0
Fork 0
mirror of https://github.com/rails/execjs synced 2023-03-27 23:21:20 -04:00

Skip disabled

This commit is contained in:
Joshua Peek 2012-04-26 16:35:01 -05:00
parent 6eb82936e2
commit 1411da08b9

View file

@ -7,6 +7,8 @@ require "execjs/runtimes"
tests = namespace :test do |tests| tests = namespace :test do |tests|
ExecJS::Runtimes.names.each do |name| ExecJS::Runtimes.names.each do |name|
next if name == :Disabled
task(name.downcase) do task(name.downcase) do
ENV["EXECJS_RUNTIME"] = name.to_s ENV["EXECJS_RUNTIME"] = name.to_s
end end