forked from obi-a/ragios
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
41 lines (33 loc) · 810 Bytes
/
Rakefile
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
41
task :console do
ragios_dir = File.expand_path(File.join(File.dirname(__FILE__), '..', 'Ragios'))
config = ragios_dir + '/config'
console = ragios_dir + '/initializers/console'
irb = "bundle exec pry -r #{config} -r #{console}"
sh irb
end
task :spec do
sh 'rspec spec/'
end
task :notifiers do
sh 'rspec -fs spec/notifiers'
end
task :plugins do
sh 'rspec -fs spec/plugins'
end
task :unit do
sh 'rspec -fs spec/unit_tests'
end
task :integration do
sh 'rspec -fs spec/integration'
end
task :test_ragios do
sh 'rspec -fs spec/unit_tests'
sh 'rspec -fs spec/integration'
end
task :c => :console
task :test_notifiers => :notifiers
task :test_plugins => :plugins
task :test_unit => :unit
task :test_integration => :integration
task :test => :test_ragios
task :default => :test_ragios