forked from Purple-Devs/health_check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
29 lines (23 loc) · 628 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
require "bundler/gem_tasks"
#require 'rubygems'
require 'rake'
#tests as gem
task :test do
exec '/bin/bash', './test/test_with_railsapp'
end
task :default => :test
begin
gem 'rdoc'
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = HealthCheck::VERSION
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "health_check #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('CHANGELOG')
rdoc.rdoc_files.include('MIT-LICENSE')
rdoc.rdoc_files.include('lib/**/*.rb')
end
rescue Gem::LoadError
puts "rdoc (or a dependency) not available. Install it with: gem install rdoc"
end