ruby/gems/lib/rake/extensiontask.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
319 B
Ruby
Raw Permalink Normal View History

2024-01-17 12:31:35 +09:00
require "rake/tasklib" unless defined?(Rake::TaskLib)
2021-10-28 15:49:55 +09:00
module Rake
class ExtensionTask < TaskLib
def initialize(...)
2023-06-14 01:33:44 +09:00
task :compile do |args|
2021-10-28 15:49:55 +09:00
puts "Dummy `compile` task defined in #{__FILE__}"
2023-06-14 01:33:44 +09:00
puts "#{args.name} => #{args.prereqs.join(' ')}"
2021-10-28 15:49:55 +09:00
end
end
2025-01-16 10:06:23 +09:00
def lib_dir; end
2021-10-28 15:49:55 +09:00
end
end