Skip to content

Commit

Permalink
Adding Jeweler.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Bleigh committed Nov 12, 2009
1 parent a919cad commit 8df9955
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Rakefile
Expand Up @@ -2,7 +2,25 @@ require 'rubygems'
require './lib/mash.rb'
require 'spec/rake/spectask'

begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "mash"
gemspec.summary = "An extended Hash that gives simple pseudo-object functionality that can be built from hashes and easily extended."
gemspec.description = "Mash is an extended Hash that gives simple pseudo-object functionality that can be built from hashes and easily extended."
gemspec.email = "michael@intridea.com"
gemspec.homepage = "http://github.com/mbleigh/mash"
gemspec.authors = ["Michael Bleigh"]
gemspec.files = FileList["[A-Z]*", "{lib,spec}/**/*"] - FileList["**/*.log"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

task :default => :spec
desc "Run specs."
Spec::Rake::SpecTask.new("spec") do |t|
t.spec_files = "spec/*_spec.rb"
t.spec_opts = ['--colour', '--format specdoc']
end

0 comments on commit 8df9955

Please sign in to comment.