# # Copyright © 2013 # Nathan Currier # # Use, modification, and distribution are all subject to the # Boost Software License, Version 1.0. (See the accompanying # file LICENSE.md or at rideliner.tk/LICENSE.html). # # <description> #

module Bakery

module Ingredient
  class Build < Bakery::Ingredient::File
    def initialize *args, &block
      if args.include? :cmake
        super 'CMakeList.txt', *args, &block
      elsif args.include? :make
        super 'makefile', *args, &block
      elsif args.include? :rake
        super 'rakefile', *args, &block
      end
    end
  end
end

end