Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
  • Loading branch information
takkii committed Apr 14, 2024
1 parent 05a6106 commit bb15772
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ require 'rspec/core'
require 'rspec/core/rake_task'
require 'rdoc/task'
require 'rake/testtask'
require 'simplecov'

begin
Bundler.setup(:default, :development)
Expand All @@ -17,18 +18,11 @@ rescue Bundler::BundlerError => e
exit e.status_code
end

# rspec

RSpec::Core::RakeTask.new(:spec) do |spec|
spec.pattern = FileList['spec/**/*_spec.rb']
end

RSpec::Core::RakeTask.new(:rcov) do |spec|
spec.pattern = 'spec/**/*_spec.rb'
spec.rcov = true
end
# simplecov
SimpleCov.start

task :default => :spec
# RDoc

Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
Expand Down

0 comments on commit bb15772

Please sign in to comment.