mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
14 lines
319 B
Ruby
14 lines
319 B
Ruby
require "rake/tasklib" unless defined?(Rake::TaskLib)
|
|
|
|
module Rake
|
|
class ExtensionTask < TaskLib
|
|
def initialize(...)
|
|
task :compile do |args|
|
|
puts "Dummy `compile` task defined in #{__FILE__}"
|
|
puts "#{args.name} => #{args.prereqs.join(' ')}"
|
|
end
|
|
end
|
|
|
|
def lib_dir; end
|
|
end
|
|
end
|