summaryrefslogtreecommitdiff
path: root/gems/lib/rake/extensiontask.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-06-14 01:21:27 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2023-06-14 12:14:20 +0900
commitc5c15a565b9b88745fe08f2ff78c2e0e5b401498 (patch)
tree26ce0f1d64f520dfacca18358b67bd50746a602e /gems/lib/rake/extensiontask.rb
parent8722342ca9b5f770e678ccc93c4f68351e267c3c (diff)
Allow test-unit-ruby-core files to be loaded from bundled gems
Separate the directly from the customized test-unit, since it may not work with bundled gems.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/7941
Diffstat (limited to 'gems/lib/rake/extensiontask.rb')
-rw-r--r--gems/lib/rake/extensiontask.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/gems/lib/rake/extensiontask.rb b/gems/lib/rake/extensiontask.rb
new file mode 100644
index 0000000000..62b7ff8018
--- /dev/null
+++ b/gems/lib/rake/extensiontask.rb
@@ -0,0 +1,9 @@
+module Rake
+ class ExtensionTask < TaskLib
+ def initialize(...)
+ task :compile do
+ puts "Dummy `compile` task defined in #{__FILE__}"
+ end
+ end
+ end
+end