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