# frozen_string_literal: true require "bundler/gem_tasks" require "minitest/test_task" Minitest::TestTask.create do |t| t.test_globs = ["test/**/*_test.rb"] end require "rubocop/rake_task" RuboCop::RakeTask.new desc "Run tapioca compilers" task :tapioca do sh "bin/tapioca gem" end desc "Run Sorbet typechecker" task :sorbet do sh "bundle exec srb tc" end task default: %i[rubocop:autocorrect_all sorbet test]