Rakefile in x25519-0.0.0 vs Rakefile in x25519-0.1.0

- old
+ new

@@ -1,11 +1,19 @@ # frozen_string_literal: true require "bundler/gem_tasks" +require "rake/clean" +CLEAN.include("**/*.o", "**/*.so", "**/*.bundle", "pkg", "tmp") + +require "rake/extensiontask" +Rake::ExtensionTask.new("x25519") do |ext| + ext.ext_dir = "ext/x25519" +end + require "rspec/core/rake_task" RSpec::Core::RakeTask.new require "rubocop/rake_task" RuboCop::RakeTask.new -task default: %w[spec rubocop] +task default: %w[compile spec rubocop]