Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 39 lines (30 sloc) 0.877 kB
976c328 @luislavena Big update, messed up CR+LF, LF and UTF8 encoding.
luislavena authored
1 #!/usr/bin/env ruby
2
023433d @luislavena Preprend rubyinstaller root folder for $LOAD_PATH
luislavena authored
3 # Ensure '.' is in the LOAD_PATH in Ruby 1.9.2
4 $LOAD_PATH.unshift File.expand_path(File.dirname(__FILE__))
5
976c328 @luislavena Big update, messed up CR+LF, LF and UTF8 encoding.
luislavena authored
6 # Load Rake
7 begin
8 require 'rake'
9 rescue LoadError
10 require 'rubygems'
11 require 'rake'
12 end
13
282e918 @jonforums Enable Ruby core extensions and String#camelcase.
jonforums authored
14 # Add extensions to core Ruby classes
15 require 'rake/core_extensions'
16
976c328 @luislavena Big update, messed up CR+LF, LF and UTF8 encoding.
luislavena authored
17 # RubyInstaller configuration data
18 require 'config/ruby_installer'
19
63e9c5e @jonforums add initial DevKit configuration
jonforums authored
20 # DevKit configuration data
21 require 'config/devkit'
22
8649800 @jonforums Use basic-bsdtar instead of 7zip extraction.
jonforums authored
23 # Added download task from buildr
24 require 'rake/downloadtask'
25 require 'rake/extracttask'
57b1436 @luislavena Use of checkpoints for devkit.
luislavena authored
26 require 'rake/checkpoint'
8649800 @jonforums Use basic-bsdtar instead of 7zip extraction.
jonforums authored
27
976e0ad @jonforums Allow default build configuration to be overridden.
jonforums authored
28 # Allow build configuration overrides if override/build_config.rb file
29 # exists in the RubyInstaller project root directory
30 begin
31 require 'override/build_config'
32 rescue LoadError
33 end
34
976c328 @luislavena Big update, messed up CR+LF, LF and UTF8 encoding.
luislavena authored
35 Dir.glob("#{RubyInstaller::ROOT}/recipes/**/*.rake").sort.each do |ext|
36 puts "Loading #{File.basename(ext)}" if Rake.application.options.trace
37 load ext
38 end
Something went wrong with that request. Please try again.