File: Rakefile

package info (click to toggle)
ruby-contracts 0.17.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 560 kB
  • sloc: ruby: 3,810; makefile: 4; sh: 2
file content (18 lines) | stat: -rw-r--r-- 367 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# frozen_string_literal: true

task :default => [:spec]

task :cucumber do
  if RUBY_VERSION >= "3.4"
    sh "cucumber --tags 'not @before_ruby_3_3'"
  else
    sh "cucumber --tags 'not @after_ruby_3_4'"
  end
end

task :add_tag do
  `git tag -a v#{Contracts::VERSION} -m 'v#{Contracts::VERSION}'`
end

require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)