Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 825 Bytes
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "dsl_helper"
s.description = s.summary = "Helpers for creating internal DSLs"
s.email = "joshbuddy@gmail.com"
s.homepage = "http://github.com/joshbuddy/dsl_helper"
s.authors = ["Joshua Hull"]
s.files = FileList["[A-Z]*", "{lib,spec}/**/*"]
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end
require 'spec'
require 'spec/rake/spectask'
task :spec => 'spec:all'
namespace(:spec) do
Spec::Rake::SpecTask.new(:all) do |t|
t.spec_opts ||= []
t.spec_opts << "-rubygems"
t.spec_opts << "--options" << "spec/spec.opts"
t.spec_files = FileList['spec/**/*_spec.rb']
end
end