Permalink
Browse files

Added packaging tasks

  • Loading branch information...
1 parent 03246b3 commit ddf6aaff3174e0e29a5ebe42413744a80828d2ed @wagenet wagenet committed Sep 26, 2011
Showing with 21 additions and 0 deletions.
  1. +9 −0 Gemfile
  2. +12 −0 Rakefile
View
9 Gemfile
@@ -1,3 +1,12 @@
source "http://rubygems.org"
+group :development do
+ gem 'rake'
+
+ if Bundler::VERSION[0,3] == "1.1"
+ # This gem isn't strictly necessary and only works with bundler 1.1
+ gem "packager", "~> 0.1.0"
+ end
+end
+
gemspec
View
12 Rakefile
@@ -0,0 +1,12 @@
+begin
+ require 'packager/rake_task'
+
+ Packager::RakeTask.new(:pkg) do |t|
+ t.package_name = "BPM"
+ t.version = BPM::VERSION
+ t.domain = "strobecorp.com"
+ t.bin_files = ["bpm"]
+ t.resource_files = ["README.md"]
+ end
+rescue LoadError
+end

0 comments on commit ddf6aaf

Please sign in to comment.