From 07bc4bfe93893dbe19e65390bb041e75dc00c263 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Thu, 10 Oct 2024 12:24:54 -0400 Subject: [PATCH 1/2] rake clobber should remove build .gem files --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index 8d2996c5..321923f8 100644 --- a/Rakefile +++ b/Rakefile @@ -1,7 +1,10 @@ require "bundler/gem_tasks" +require "rake/clean" require "rake/testtask" require_relative "lib/standard/rake" +CLOBBER.include "*.gem" + Rake::TestTask.new(:test) do |t| t.warning = false t.test_files = FileList["test/**/*_test.rb"] From 8f27a749e50529f7060bfb47879ec87dc0e90f27 Mon Sep 17 00:00:00 2001 From: Jason Karns Date: Thu, 10 Oct 2024 12:25:14 -0400 Subject: [PATCH 2/2] move default task to conventional location at top --- Rakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index 321923f8..79807a44 100644 --- a/Rakefile +++ b/Rakefile @@ -5,9 +5,9 @@ require_relative "lib/standard/rake" CLOBBER.include "*.gem" +task default: [:test, "standard:fix"] + Rake::TestTask.new(:test) do |t| t.warning = false t.test_files = FileList["test/**/*_test.rb"] end - -task default: [:test, "standard:fix"]