Rakefile in bitwise-0.1.0 vs Rakefile in bitwise-0.1.1
- old
+ new
@@ -1,19 +1,18 @@
# require "bundler/gem_tasks"
# require 'rubygems'
# require 'bundler'
require "rake/extensiontask"
-Rake::ExtensionTask.new("bitwise") do |extension|
- extension.lib_dir = "lib/bitwise"
-end
+Rake::ExtensionTask.new("bitwise")
require 'rspec/core/rake_task'
task :default => :spec
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = ["--color"]
t.fail_on_error = false
end
+Rake::Task[:spec].prerequisites << :compile
require 'jeweler'
Jeweler::Tasks.new do |gem|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
gem.name = "bitwise"