File: Rakefile

package info (click to toggle)
ruby-acts-as-taggable-on 6.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 572 kB
  • sloc: ruby: 3,793; makefile: 6
file content (21 lines) | stat: -rw-r--r-- 472 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
require 'rubygems'
require 'bundler/setup'

import "./lib/tasks/tags_collate_utf8.rake"

desc 'Default: run specs'
task default: :spec

desc 'Copy sample spec database.yml over if not exists'
task :copy_db_config do
  cp 'spec/internal/config/database.yml.sample', 'spec/internal/config/database.yml'
end

task spec: [:copy_db_config]

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new do |t|
  t.pattern = 'spec/**/*_spec.rb'
end

Bundler::GemHelper.install_tasks