Sha256: d7471bffeb50ab5ec6eaa59e5ff9cc25554aff02a3b05552935db54de63485ce

Contents?: true

Size: 516 Bytes

Versions: 6

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 :github 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

6 entries across 6 versions & 1 rubygems

Version Path
starcall-0.6.0 Rakefile
starcall-0.5.0 Rakefile
starcall-0.4.0 Rakefile
starcall-0.3.0 Rakefile
starcall-0.2.1 Rakefile
starcall-0.2.0 Rakefile