Permalink
Browse files

Reorder requires and add spec prerequisites

  • Loading branch information...
1 parent c323825 commit 0c504397ce34b7e524659af8ebef20a0d3f06f8e @apohllo apohllo committed Mar 6, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 Rakefile
View
@@ -1,9 +1,11 @@
+require 'bundler/gem_tasks'
require 'rake'
require 'rspec'
require 'rspec/core/rake_task'
require 'rake/extensiontask'
-require 'bundler'
Bundler::GemHelper.install_tasks
+Rake::ExtensionTask.new('cbloomfilter')
RSpec::Core::RakeTask.new(:spec)
-Rake::ExtensionTask.new('cbloomfilter')
+Rake::Task[:spec].prerequisites << :clean
+Rake::Task[:spec].prerequisites << :compile

0 comments on commit 0c50439

Please sign in to comment.