summaryrefslogtreecommitdiff
path: root/bin/rake-compiler
blob: 7a21fdd30ceb30a5c2198d4acc38d2e1b246f827 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/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