require 'gem2deb/rake/spectask'

Gem2Deb::Rake::RSpecTask.new do |spec|
  # These require a git repo
  # and in general are not very applicable to ensuring
  # the resulting install is functional, so exclude them
  # https://github.com/jaymzh/sugarjar/issues/194
  spec.exclude_pattern = './spec/repoconfig_spec.rb,./spec/commands/feature_spec.rb'
  spec.pattern = './spec/**/*_spec.rb'
end
