Skip to content

Commit

Permalink
added jeweler support
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbuddy committed Nov 20, 2009
1 parent 2e3f0a4 commit 2d1b666
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions Rakefile
@@ -1,20 +1,22 @@
require 'rake/testtask'

task :gem => :gemspec do
sh 'gem build em-spec.gemspec'
end

task :gemspec do

end

task :install => :gem do
sh 'sudo gem install em-spec-*.gem'
begin
require 'jeweler'
Jeweler::Tasks.new do |s|
s.name = "em-spec"
s.description = s.summary = "Simple BDD API for testing asynchronous Ruby/EventMachine code"
s.email = "aman@tmm1.net"
s.homepage = "http://github.com/joshbuddy/em-spec"
s.authors = ["Aman Gupta"]
s.files = FileList["[A-Z]*", "{lib,test}/**/*"]
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


Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test_spec.rb']
Expand Down
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
0.0.0
0.2.0

0 comments on commit 2d1b666

Please sign in to comment.