Sha256: c8a17d2630b20e37a66b2c7f03add1192932adb6a7745cd4b674ea32e355ecc6

Contents?: true

Size: 569 Bytes

Versions: 3

Compression:

Stored size: 569 Bytes

Contents

#!/usr/bin/env ruby
require 'rubygems'
require 'yaml'
require 'fileutils'
include FileUtils
puts File.dirname(__FILE__)

if File.exists? "build.yml"
  $app_config = YAML::load_file("build.yml")

  unless $app_config["sdk"].nil?
    $app_config["sdk"] = nil

    File.open(  'build.yml', 'w' ) do |out|
      YAML.dump( $app_config, out )
    end

    rakefilepath = File.join( `get-tau-info --tau-path`.chomp(), 'res/generators/templates/application/Rakefile' )
    puts "Application Rakefile has been updated to use latest TAU gem."
    cp rakefilepath, '.'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tauplatform-1.0.3 bin/migrate-tau-app
tauplatform-1.0.2 bin/migrate-tau-app
tauplatform-1.0.1 bin/migrate-tau-app