blob: 9bf5262fe3a19a24d229c13728399ead532dcbda (
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
25
26
|
#!/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
# Move into user home to initialize Rake
Dir.chdir File.expand_path("~") do
Rake.application.init('rake-compiler')
end
# Load the already cooked tasks ;-)
load File.join(File.dirname(__FILE__), %w{.. tasks cross Rakefile})
# delegate control to Rake
Rake.application.top_level
|