-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
37 lines (32 loc) · 984 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
namespace :gem do
begin
require 'jeweler'
gem_name = 'voomify_utility_drawer'
Jeweler::Tasks.new do |gem|
gem.name = gem_name
gem.summary = 'Voomify useful classes that most of our projects use'
gem.files = Dir['{lib}/**/*']
gem.author = 'Russell Edens'
gem.email = '[email protected]'
gem.description = 'This gem contains a bunch of useful utilities.'
gem.homepage = 'http://www.github.com/voomify/utility_drawer'
# other fields that would normally go in your gemspec also be included here
end
Jeweler::GemcutterTasks.new
rescue
puts 'Jeweler or one of its dependencies is not installed.'
end
task :uninstall do
sh "gem uninstall #{gem_name}"
end
task :reinstall =>[:uninstall,:install]
end
desc "Run all specs"
task :spec do
require 'spec'
require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |t|
t.spec_files = FileList['spec']
t.libs << 'lib'
end
end