forked from duelinmarkers/renum
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ca0fd08
commit 9facac7
Showing
1 changed file
with
19 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,21 @@ | ||
require 'config/requirements' | ||
require 'config/hoe' # setup Hoe + all gem configuration | ||
require 'rubygems' | ||
require 'spec/rake/spectask' | ||
|
||
Dir['tasks/**/*.rake'].each { |rake| load rake } | ||
Spec::Rake::SpecTask.new do |t| | ||
end | ||
|
||
Rake::Task[:default].prerequisites.clear | ||
task :default => :spec | ||
task :default => :spec | ||
|
||
begin | ||
require 'jeweler' | ||
Jeweler::Tasks.new do |s| | ||
s.name = "renum" | ||
s.summary = "provides a readable but terse enum facility for Ruby" | ||
s.email = "duelin.markers@gmail.com" | ||
s.homepage = "http://github.com/duelinmarkers/renum" | ||
s.description = "provides a readable but terse enum facility for Ruby" | ||
s.authors = ["John Hume"] | ||
end | ||
rescue LoadError | ||
puts "Jeweler or a dependency not available. To install: sudo gem install technicalpickles-jeweler -s http://gems.github.com" | ||
end |