#!/usr/bin/env ruby

#--
# Copyright (c) 2008 Luis Lavena
#
# This source code is released under the MIT License.
# See LICENSE file for details
#++

begin
  require 'rake'
rescue LoadError
  require 'rubygems'
  require 'rake'
end

# Initialize 'rake-compiler' application
Rake.application.init('rake-compiler')

# Load the already cooked tasks ;-)
load File.join(File.dirname(__FILE__), %w{.. tasks bin cross-ruby.rake})

# delegate control to Rake
Rake.application.top_level
