File: Rakefile

package info (click to toggle)
capistrano 3.19.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 804 kB
  • sloc: ruby: 5,351; makefile: 5
file content (20 lines) | stat: -rw-r--r-- 476 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require "bundler/gem_tasks"
require "cucumber/rake/task"
require "rspec/core/rake_task"

begin
  require "rubocop/rake_task"
  desc "Run RuboCop checks"
  RuboCop::RakeTask.new
  task default: %i(spec rubocop)
rescue LoadError
  task default: :spec
end

RSpec::Core::RakeTask.new
Cucumber::Rake::Task.new(:features)

Rake::Task["release"].enhance do
  puts "Don't forget to publish the release on GitHub!"
  system "open https://github.com/capistrano/capistrano/releases"
end