-
Notifications
You must be signed in to change notification settings - Fork 6
/
Rakefile
26 lines (24 loc) · 1011 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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