Skip to content

Commit

Permalink
Define rake task 'spec'
Browse files Browse the repository at this point in the history
  • Loading branch information
jirutka committed Jul 14, 2023
1 parent a8cf4f5 commit 1d29482
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"

begin
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :test => :spec
task :default => :spec
rescue LoadError => e
warn "#{e.path} is not available"
end

desc "Generate a new usage scenario."
task :generate_usage_scenario, [:scenario] do |task, args|
unless args[:scenario]
Expand Down

0 comments on commit 1d29482

Please sign in to comment.