Sha256: f5945324a0935cd3dfe0e339ca69de74ffdb5f01aeb3de07bc605ca9560f0b8e

Contents?: true

Size: 695 Bytes

Versions: 23

Compression:

Stored size: 695 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."
  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

23 entries across 23 versions & 1 rubygems

Version Path
rhodes-2.1.0 res/generators/templates/application/Rakefile
rhodes-2.0.3 res/generators/templates/application/Rakefile
rhodes-2.0.2 res/generators/templates/application/Rakefile
rhodes-2.0.0 res/generators/templates/application/Rakefile
rhodes-2.0.0.rc2 res/generators/templates/application/Rakefile
rhodes-2.0.0.rc1 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta11 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta10 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta9 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta8 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta7 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta6 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta4 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta3 res/generators/templates/application/Rakefile
rhodes-1.5.5 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta2 res/generators/templates/application/Rakefile
rhodes-2.0.0.beta1 res/generators/templates/application/Rakefile
rhodes-1.5.4 res/generators/templates/application/Rakefile
rhodes-1.5.3 res/generators/templates/application/Rakefile
rhodes-1.5.2 res/generators/templates/application/Rakefile