Sha256: 9a6a27315ebc61d148c65255859be8858eb42d8cff62124a37df0ca4db4b300b

Contents?: true

Size: 516 Bytes

Versions: 1

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

require 'English'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'rubocop/rake_task'

RSpec::Core::RakeTask.new(:spec)

RuboCop::RakeTask.new

namespace :travis do
  desc 'Run rspec and rubocop'
  travis_tasks = %w[spec rubocop]
  task :run do
    travis_tasks.each do |task|
      puts "Starting to run #{task}..."
      system("bundle exec rake #{task}")
      raise "#{task} failed!" unless $CHILD_STATUS.exitstatus.zero?
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
starcall-0.1.1 Rakefile