forked from onesky/i18n-one_sky-ruby
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
31 lines (24 loc) · 709 Bytes
/
Rakefile
File metadata and controls
31 lines (24 loc) · 709 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
require 'bundler'
Bundler::GemHelper.install_tasks
# = RDoc
require 'rdoc/task'
Rake::RDocTask.new do |t|
t.rdoc_dir = 'rdoc'
t.options << '--line-numbers' << '--inline-source' << '-A cattr_accessor=object'
t.options << '--charset' << 'utf-8'
t.rdoc_files.include('README.rdoc', 'MIT-LICENSE', 'CHANGELOG', 'CREDITS', 'lib/**/*.rb')
end
require 'rspec/core/rake_task'
desc 'Default: run specs.'
task :default => :spec
desc "Run all specs"
RSpec::Core::RakeTask.new() do |t|
end
desc "Run offline specs"
RSpec::Core::RakeTask.new("spec:offline") do |t|
t.rspec_opts = %w{--tag ~live}
end
desc "Run live specs"
RSpec::Core::RakeTask.new("spec:live") do |t|
t.rspec_opts = %w{--tag live}
end