Sha256: f3a30b39a86b3f00e3d860d02ee72055556334214282fc18e70fdc3ee8d21f8f

Contents?: true

Size: 654 Bytes

Versions: 4

Compression:

Stored size: 654 Bytes

Contents

base = File.expand_path(File.dirname(__FILE__))
require 'rubygems'
#require 'archive/tar/minitar'
require 'localized_helpers'
GemHelpers.update_gem_path "#{base}/../common/gems/installed"
require 'yaml'
require 'fileutils'
require 'find'

module Build
  def self.package
    pwd = Dir.pwd
    project_name = File.basename(pwd)
    File.open("#{project_name}.tar", 'wb') { |tar|  Archive::Tar::Minitar.pack("#{pwd}", tar) }
  end

  def self.clean
    pwd = Dir.pwd
    project_name = File.basename(pwd)
    full = File.expand_path(pwd)
    FileUtils.rm_rf "#{full}/common/gems/installed/"
    FileUtils.mkdir "#{full}/common/gems/installed/"
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qa_robusta-0.1.9 lib/monkey_patch.rb
qa_robusta-0.1.8 lib/monkey_patch.rb
qa_robusta-0.1.5 lib/monkey_patch.rb
qa_robusta-0.1.4 lib/monkey_patch.rb