Sha256: 826bde9da3c5a352e16427deda61e44445aaafbeabdc80ba2881c4b60d33be47

Contents?: true

Size: 711 Bytes

Versions: 62

Compression:

Stored size: 711 Bytes

Contents

require 'yaml'

unless File.exists? "build.yml"
  puts "Cannot find build.yml"
  exit 1
end


$app_config = YAML::load_file("build.yml")
$app_path = File.expand_path(File.dirname(__FILE__))

if ENV["RHO_HOME"].nil?
  rakefilepath = "#{$app_config["sdk"]}/Rakefile"
else
  rakefilepath = "#{ENV["RHO_HOME"]}/Rakefile"
end

unless File.exists? rakefilepath
  puts "\nCannot find your Rhodes gem or source path: #{rakefilepath}"
  puts "\nIf you have the sdk on your path or have installed the gem this"
  puts "can be resolved by running 'set-rhodes-sdk'"
  puts "\nYou can also set this manually by modifying your build.yml or"
  puts "setting the environment variable RHO_HOME"
  exit 1
end

load rakefilepath

Version data entries

62 entries across 62 versions & 1 rubygems

Version Path
rhodes-2.3.0 res/generators/templates/application/Rakefile
rhodes-2.3.0.beta.3 res/generators/templates/application/Rakefile
rhodes-2.3.0.beta.2 res/generators/templates/application/Rakefile
rhodes-2.3.0.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.6 res/generators/templates/application/Rakefile
rhodes-2.2.6.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.5 res/generators/templates/application/Rakefile
rhodes-2.2.5.beta.3 res/generators/templates/application/Rakefile
rhodes-2.2.5.beta.2 res/generators/templates/application/Rakefile
rhodes-2.2.5.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.4.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.3 res/generators/templates/application/Rakefile
rhodes-2.2.3.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.2 res/generators/templates/application/Rakefile
rhodes-2.2.2.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.1 res/generators/templates/application/Rakefile
rhodes-2.2.1.beta.2 res/generators/templates/application/Rakefile
rhodes-2.2.1.beta.1 res/generators/templates/application/Rakefile
rhodes-2.2.0 res/generators/templates/application/Rakefile
rhodes-2.2.0.beta.3 res/generators/templates/application/Rakefile