File: Rakefile

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

require 'rspec/core/rake_task'
require 'rubocop/rake_task'

RuboCop::RakeTask.new(:rubocop)

RSpec::Core::RakeTask.new(:spec) do |t|
  t.verbose = false
end

task test: :spec

task :gem do
  sh('gem build *.gemspec')
end

task default: %i[test rubocop]