Sha256: 289ff3d81f921bad5b2671df3e99703fd04b223c28cb56c523939518fc610d30

Contents?: true

Size: 713 Bytes

Versions: 14

Compression:

Stored size: 713 Bytes

Contents

# frozen_string_literal: true
require 'rake/testtask'

namespace :spec do
  desc 'run all tests'
  task all: [:omdb, :skyscanner, :airbnb]

  task :omdb do
    sh 'ruby spec/omdb_spec.rb'
  end

  task :skyscanner do
    sh 'ruby spec/skyscanner_spec.rb'
  end

  task :airbnb do
    sh 'ruby spec/airbnb_spec.rb'
  end
end

desc 'delete cassette fixtures'
task :wipe do
  sh 'rm spec/fixtures/cassettes/*.yml' do |ok, _|
    puts(ok ? 'Cassettes deleted' : 'No cassettes found')
  end
end

namespace :quality do
  desc 'run all quality checks'
  task all: [:rubocop, :flog, :flay]

  task :flog do
    sh 'flog lib/'
  end

  task :flay do
    sh 'flay lib/'
  end

  task :rubocop do
    sh 'rubocop'
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
movlog-0.2.12 Rakefile
movlog-0.2.11 Rakefile
movlog-0.2.10 Rakefile
movlog-0.2.9 Rakefile
movlog-0.2.8 Rakefile
movlog-0.2.7 Rakefile
movlog-0.2.6 Rakefile
movlog-0.2.5 Rakefile
movlog-0.2.4 Rakefile
movlog-0.2.3 Rakefile
movlog-0.2.2 Rakefile
movlog-0.2.1 Rakefile
movlog-0.2.0 Rakefile
movlog-0.1.0 Rakefile