Rakefile in tty-0.0.11 vs Rakefile in tty-0.1.0

- old
+ new

@@ -1,12 +1,8 @@ -# -*- encoding: utf-8 -*- -$:.unshift File.expand_path('../lib', __FILE__) +# encoding: utf-8 + require "bundler/gem_tasks" -require "rspec/core/rake_task" -RSpec::Core::RakeTask.new(:spec) do |spec| - spec.pattern = FileList['spec/**/*_spec.rb'] -end +FileList['tasks/**/*.rake'].each(&method(:import)) -FileList['tasks/**/*.rake'].each { |task| import task } - -task :default => [:spec] +desc 'Run all specs' +task ci: %w[ spec ]