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("zstd") do |ext| ext.lib_dir = "lib/zstd" end task :default => [:clobber, :compile, :test] task test: :build