forked from pitluga/supply_drop
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added gemspec and rakefile to build it
- Loading branch information
1 parent
78af402
commit 7e160fa
Showing
3 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
**/*/.vagrant | ||
*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |