forked from colinsurprenant/raad
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
40 lines (33 loc) · 713 Bytes
/
Rakefile
File metadata and controls
40 lines (33 loc) · 713 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
38
39
40
require 'rake'
require "rubygems"
task :default => :test
begin
require 'rspec/core/rake_task'
desc "run specs in the current ruby env"
task :spec do
sh "ruby -v"
RSpec::Core::RakeTask.new
end
rescue NameError, LoadError => e
puts e
end
desc "run specs for all rubies"
task :specs do
exec "spec/spec_all.sh"
end
desc "run validations in the current ruby env"
task :validation do
exec "test/validate.sh"
end
desc "run validations for all rubies"
task :validations do
exec "test/validate_all.sh"
end
desc "install all tested rubies under rvm"
task :rvm_setup do
exec "test/rvm_setup.sh"
end
desc "perform specs and validation"
task :test => [:spec] do
exec "test/validate.sh"
end