Skip to content
Snippets Groups Projects
Commit ef1cd583 authored by Mathieu Sauve-Frankel's avatar Mathieu Sauve-Frankel
Browse files

add simple rakefile for build tasks

parent fd684721
No related branches found
Tags v0.1.2
No related merge requests found
Rakefile 0 → 100644
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "chef/handler/mail/version"
GEM_NAME = "chef-handler-mail"
GEM_VERSION = MailHandler::VERSION
desc "Build #{GEM_NAME} gem"
task :build do
system "gem build #{GEM_NAME}.gemspec"
end
desc "Push #{GEM_NAME} to rubygems.org"
task :push => :build do
system "gem push #{GEM_NAME}-#{GEM_VERSION}.gem"
end
desc "Clean up build gems"
task :clean do
system "rm #{GEM_NAME}-#{GEM_VERSION}.gem"
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment