Rakefile in numo-openblas-0.1.1 vs Rakefile in numo-openblas-0.2.0
- old
+ new
@@ -1,6 +1,15 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+require 'rake/extensiontask'
+
+task build: :compile
+
+Rake::ExtensionTask.new('openblas') do |ext|
+ ext.ext_dir = 'ext/numo/openblas'
+ ext.lib_dir = 'lib/numo/openblas'
+end
+
+task default: %i[clobber compile spec]