Sha256: d2cedcb8370a5c827db3efbfae70cd05506f2caff2bfa7e51863724d9c11f7c2

Contents?: true

Size: 695 Bytes

Versions: 208

Compression:

Stored size: 695 Bytes

Contents

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

require 'yaml'

$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

208 entries across 116 versions & 2 rubygems

Version Path
rhodes-7.6.0 spec/phone_spec/Rakefile
rhodes-7.6.0 spec/framework_spec/Rakefile
rhodes-7.5.1 spec/framework_spec/Rakefile
rhodes-7.5.1 spec/phone_spec/Rakefile
rhodes-7.4.1 spec/phone_spec/Rakefile
rhodes-7.4.1 spec/framework_spec/Rakefile
rhodes-7.1.17 spec/framework_spec/Rakefile
rhodes-7.1.17 spec/phone_spec/Rakefile
rhodes-6.2.0 spec/framework_spec/Rakefile
rhodes-6.2.0 spec/phone_spec/Rakefile
rhodes-6.0.11 spec/phone_spec/Rakefile
rhodes-6.0.11 spec/framework_spec/Rakefile
rhodes-5.5.18 spec/phone_spec/Rakefile
rhodes-5.5.18 spec/framework_spec/Rakefile
rhodes-5.5.17 spec/phone_spec/Rakefile
rhodes-5.5.17 spec/framework_spec/Rakefile
rhodes-5.5.15 spec/phone_spec/Rakefile
rhodes-5.5.15 spec/framework_spec/Rakefile
rhodes-5.5.0.22 spec/framework_spec/Rakefile
rhodes-5.5.0.22 spec/phone_spec/Rakefile