module Hoe::Compiler

def define_compiler_tasks

def define_compiler_tasks
  require "rake/extensiontask"
  Rake::ExtensionTask.new self.name, spec do |ext|
    ext.lib_dir = File.join(*["lib", self.name, ENV["FAT_DIR"]].compact)
  end
  compile_tasks.each do |t|
    task t => :compile
  end
end