--- a/Rakefile +++ b/Rakefile @@ -1,7 +1,6 @@ #!/usr/bin/env rake # frozen_string_literal: true -require "bundler/gem_tasks" require "rake/testtask" require "fileutils" require "tmpdir" @@ -43,10 +42,6 @@ end end -require "rubocop/rake_task" - -RuboCop::RakeTask.new - desc "Pretty format C code" task :format do puts %x(astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks \ @@ -58,8 +53,3 @@ $LOAD_PATH.unshift("lib") load "script/benchmark.rb" end - -GEMSPEC = Bundler.load_gemspec("mathematical.gemspec") -gem_path = Gem::PackageTask.new(GEMSPEC).define -desc "Package the ruby gem" -task "package" => [gem_path]