-
Notifications
You must be signed in to change notification settings - Fork 3
/
Rakefile
36 lines (32 loc) · 1.01 KB
/
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
require 'rubygems'
require 'rake'
require 'rake/clean'
require 'rake/testtask'
require 'rdoc/task'
require 'fileutils'
include FileUtils
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "jpmobile-terminfo"
gem.summary = "Carrier terminal information List for jpmobile"
gem.description = "Carrier terminal information List for jpmobile"
gem.email = "rust.stnard@gmail.com"
gem.homepage = "http://github.com/jpmobile/jpmobile-terminfo"
gem.authors = ["Shin-ichiro OGAWA"]
gem.add_development_dependency('jeweler', '>=1.4.0')
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end
Jeweler::GemcutterTasks.new
begin
require 'rspec/core/rake_task'
desc 'run unit testing (core test)'
RSpec::Core::RakeTask.new(:spec) do |t|
spec_dir = File.join(File.dirname(__FILE__), 'spec')
t.pattern = "#{spec_dir}/*_spec.rb"
end
rescue LoadError
warn "RSpec is not installed. Some tasks were skipped. please install rspec"
end