require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new(:test) do |t| t.libs << "test" t.libs << "lib" t.test_files = FileList["test/**/*_test.rb"] end require "rake/extensiontask" task :build => :compile Rake::ExtensionTask.new("numerix") do |ext| ext.lib_dir = "lib/numerix" end task :default => [:clobber, :compile, :test]