-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathRakefile
More file actions
37 lines (32 loc) · 738 Bytes
/
Rakefile
File metadata and controls
37 lines (32 loc) · 738 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
require "rubygems"
require "bundler/gem_tasks"
require "rake/testtask"
Rake::TestTask.new do |t|
t.pattern = "test/**/*_test.rb"
end
namespace "test" do
desc "Run tests with the rubyracer runtime"
task "rubyracer" do
gem "therubyracer"
require "v8"
Rake::Task["test"].invoke
end
desc "Run tests with the therubyrhino runtime"
task "rubyrhino" do
gem "therubyrhino"
require "rhino"
Rake::Task["test"].invoke
end
desc "Run tests with the johnson runtime"
task "johnson" do
gem "johnson"
require "johnson"
Rake::Task["test"].invoke
end
desc "Run tests with the mustang runtime"
task "mustang" do
gem "mustang"
require "mustang"
Rake::Task["test"].invoke
end
end