Sha256: 153cd5d3970cc3ed57dac77a643f7cbb0c496d9972c81ccaffc4bea24ab9b729

Contents?: true

Size: 672 Bytes

Versions: 136

Compression:

Stored size: 672 Bytes

Contents

require 'find'

install_path = "-\"!:\\Data\\Rho"

dir = File.expand_path( File.dirname(File.expand_path(__FILE__)) + "/../RhoBundle")
puts "Rhodes root directory..."
puts dir

pkg_file_path = File.expand_path( File.dirname(File.expand_path(__FILE__)) ) + "/rhodes_tmp.pkg"
puts "Pkg file path..."
puts pkg_file_path

pkg_file = File.open(pkg_file_path, File::WRONLY|File::APPEND)

Find.find(dir) do |path|
    if FileTest.directory?(path)
      next
    else
	rel_file_path = path
	rel_file_path = rel_file_path.gsub(dir, "")

      line = "\"" + path.tr("/", "\\") + "\"      " + install_path + rel_file_path.tr("/", "\\") + "\""

      pkg_file.puts( line )
    end
end

Version data entries

136 entries across 136 versions & 2 rubygems

Version Path
rhodes-7.6.0 res/build-tools/insertRhoBundle2pkg.rb
rhodes-7.5.1 res/build-tools/insertRhoBundle2pkg.rb
rhodes-7.4.1 res/build-tools/insertRhoBundle2pkg.rb
rhodes-7.1.17 res/build-tools/insertRhoBundle2pkg.rb
rhodes-6.2.0 res/build-tools/insertRhoBundle2pkg.rb
rhodes-6.0.11 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.18 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.17 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.15 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.0.22 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.2 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.0.7 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.0.3 res/build-tools/insertRhoBundle2pkg.rb
rhodes-5.5.0 res/build-tools/insertRhoBundle2pkg.rb
tauplatform-1.0.3 res/build-tools/insertRhoBundle2pkg.rb
tauplatform-1.0.2 res/build-tools/insertRhoBundle2pkg.rb
tauplatform-1.0.1 res/build-tools/insertRhoBundle2pkg.rb
rhodes-3.5.1.12 res/build-tools/insertRhoBundle2pkg.rb
rhodes-3.3.5 res/build-tools/insertRhoBundle2pkg.rb
rhodes-3.4.2 res/build-tools/insertRhoBundle2pkg.rb