.autotest in stockpile-1.1 vs .autotest in stockpile-2.0
- old
+ new
@@ -1,27 +1,8 @@
# -*- ruby -*-
+# frozen-string-literal: true
-require "autotest/restart"
+require 'autotest/restart'
Autotest.add_hook :initialize do |at|
- # .minitest.rb ensures that the gem version of minitest is used.
- at.testlib = ".minitest.rb"
- # at.testlib = "minitest/unit"
- #
- # at.extra_files << "../some/external/dependency.rb"
- #
- # at.libs << ":../some/external"
- #
- # at.add_exception "vendor"
- #
- # at.add_mapping(/dependency.rb/) do |f, _|
- # at.files_matching(/test_.*rb$/)
- # end
- #
- # %w(TestA TestB).each do |klass|
- # at.extra_class_map[klass] = "test/test_misc.rb"
- # end
+ at.testlib = '.minitest.rb'
end
-
-# Autotest.add_hook :run_command do |at|
-# system "rake build"
-# end