Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 25 lines (18 sloc) 0.405 kb
9957fbd @pgr0ss Start librarian gem with a model module.
pgr0ss authored
1 #!/usr/bin/env rake
2
3 require 'rspec/core/rake_task'
4
5 RSpec::Core::RakeTask.new(:spec)
6
7 task :default => :spec
f26b411 @pgr0ss Add rake tasks for building gem. Add homepage to gemspec.
pgr0ss authored
8
9 namespace :gem do
10 desc "clean generated gems"
11 task :clean do
12 rm_f Dir.glob("*.gem")
13 end
14
15 desc "build the gem"
16 task :build => :clean do
17 sh "gem build curator.gemspec"
18 end
19
20 desc "push the gem"
21 task :push => :build do
22 sh "gem push #{Dir.glob("*.gem").first}"
23 end
24 end
Something went wrong with that request. Please try again.