Sha256: 3aa85442f69c48433d9e86ccb95988acee12318ba208a4b09f9b62ef9c946430
Contents?: true
Size: 766 Bytes
Versions: 2
Compression:
Stored size: 766 Bytes
Contents
require 'rubygems' require 'appium_thor' Appium::Thor::Config.set do gem_name 'sauce_documentation' github_owner 'bootstraponline' version_file 'lib/sauce_documentation/version.rb' 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 'cover', 'Push coverage results to coveralls' def cover require 'coveralls' Coveralls.push! end # so many errors. desc 'cop', 'Execute rubocop' def cop exec 'bundle exec rubocop --display-cop-names lib/' end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sauce_documentation-0.0.4 | Thorfile |
sauce_documentation-0.0.3 | Thorfile |