-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
29 lines (24 loc) · 805 Bytes
/
Copy pathRakefile
File metadata and controls
29 lines (24 loc) · 805 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
namespace :gem do
begin
require 'jeweler'
gem_name = 'voomify_tasks'
Jeweler::Tasks.new do |gem|
gem.name = gem_name
gem.summary = 'Common Voomify tasks.'
gem.files = Dir['{lib}/**/*', '{tasks}/**/*']
gem.author = 'Russell Edens'
gem.email = 'russell@voomify.com'
gem.description = 'This gem contains common tasks for the voomify rails projects'
gem.homepage = 'http://www.github.com/voomify/voomify/gems/tasks'
# 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
task :spec