Sha256: 5a1c355f8ebd245359f2cedc69b7eb2edf924b15923f996c53ed6d3c70ed1738

Contents?: true

Size: 229 Bytes

Versions: 8

Compression:

Stored size: 229 Bytes

Contents

module Kosmos
  module PackageDsl
    def merge_directory(from, opts = {})
      destination = opts[:into] || '.'

      FileUtils.cp_r(File.join(@download_dir, from),
        File.join(@ksp_path, destination))
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
kosmos-0.0.5 lib/kosmos/package_dsl.rb
kosmos-0.0.4 lib/kosmos/package_dsl.rb
kosmos-0.0.3 lib/kosmos/package_dsl.rb
kosmos-0.0.2.pre.test4 lib/kosmos/package_dsl.rb
kosmos-0.0.2.pre.test3 lib/kosmos/package_dsl.rb
kosmos-0.0.2.pre.test2 lib/kosmos/package_dsl.rb
kosmos-0.0.2 lib/kosmos/package_dsl.rb
kosmos-0.0.1 lib/kosmos/package_dsl.rb