Sha256: e25371aa8f8af88f74ec166390f7e02abef09322246c054b0ddca338376c8568

Contents?: true

Size: 566 Bytes

Versions: 2

Compression:

Stored size: 566 Bytes

Contents

require 'rubygems'
require 'appium_thor'

Appium::Thor::Config.set do
  gem_name 'sauce_rspec'
  github_owner 'bootstraponline'
end

# Must use '::' otherwise Default will point to Thor::Sandbox::Default
# Debug by calling Thor::Base.subclass_files via Pry
#
# https://github.com/erikhuda/thor/issues/484
#
# rubocop:disable Style/ClassAndModuleChildren
class ::Default < Thor
  desc 'spec', 'Run RSpec tests'
  def spec
    exec 'bundle exec rspec spec'
  end

  desc 'cop', 'Executes rubocop'
  def cop
    exec 'bundle exec rubocop --display-cop-names'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sauce_rspec-0.0.2 Thorfile
sauce_rspec-0.0.1 Thorfile