Skip to content

Commit

Permalink
added gemspec and rakefile to build it
Browse files Browse the repository at this point in the history
  • Loading branch information
braintreeps committed May 20, 2011
1 parent 78af402 commit 7e160fa
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1 +1,2 @@
**/*/.vagrant
*.gem
16 changes: 16 additions & 0 deletions Rakefile
@@ -0,0 +1,16 @@
desc "clean"
task :clean do
rm_f Dir.glob("*.gem")
end

namespace :gem do
desc "build the gem"
task :build => :clean do
sh "gem build supply_drop.gemspec"
end

desc "push the gem"
task :push => :build do
sh "gem push #{Dir.glob("*.gem").first}"
end
end
12 changes: 12 additions & 0 deletions supply_drop.gemspec
@@ -0,0 +1,12 @@
require 'rake'

Gem::Specification.new do |s|
s.name = "supply_drop"
s.summary = "Serverless puppet with capistrano"
s.description = "See http://github.com/pitluga/supply_drop"
s.version = "0.1.0"
s.author = "Tony Pitluga"
s.email = "tony.pitluga@gmail.com"
s.homepage = "http://github.com/pitluga/supply_drop"
s.files = FileList["README", "Rakefile", "{lib,examples}/**/*.rb"]
end

0 comments on commit 7e160fa

Please sign in to comment.