1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# frozen_string_literal: true require "bundler/setup" require "bundler/gem_tasks" require "rake/testtask" Rake::TestTask.new do |t| t.libs << "app/controllers" t.libs << "test" t.test_files = FileList["test/**/*_test.rb"] t.verbose = true t.warning = true end task :package task default: :test