Sha256: f083c13a8bbdd72fe37df746b287876b6a476e7c3e62439cd4ac1338958e26d0

Contents?: true

Size: 694 Bytes

Versions: 76

Compression:

Stored size: 694 Bytes

Contents

require 'find'

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

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

pkg_file_path = File.expand_path( File.dirname(File.expand_path(__FILE__)) + "/../rhodes/sis") + "/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

76 entries across 76 versions & 1 rubygems

Version Path
rhodes-3.0.2 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.2.beta.1 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.8 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.7 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.6 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.5 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.4 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.3 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.1.beta.2 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.7 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.6 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.5 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.4 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.3 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.2 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-3.0.0.beta.1 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-2.4.1 platform/symbian/build/insertRhoBundle2pkg.rb
rhodes-2.4.1.beta.1 platform/symbian/build/insertRhoBundle2pkg.rb