Sha256: 453af74db46599ac65b4cf185ed4257da7bf8af9ddc4dbd051160b7a6d792ebf

Contents?: true

Size: 503 Bytes

Versions: 8

Compression:

Stored size: 503 Bytes

Contents

# -*- encoding: utf-8 -*-

require 'coco'

$GENIT_PATH = File.expand_path(File.join(File.expand_path(File.dirname(__FILE__)), '..'))

require './lib/genit'
include Genit

TEST_REPOSITORY = 'spec/project-name'

def clean_test_repository
  Dir.foreach(TEST_REPOSITORY) do |file|
    next if (file == ".") or (file == "..")
    filename = File.join(TEST_REPOSITORY, file)
    FileUtils.remove_dir(filename) if File.directory?(filename)
    FileUtils.remove_file(filename) if File.file?(filename)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
genit-0.99 spec/helper.rb
genit-0.9 spec/helper.rb
genit-0.5 spec/helper.rb
genit-0.4.1 spec/helper.rb
genit-0.4 spec/helper.rb
genit-0.3 spec/helper.rb
genit-0.2 spec/helper.rb
genit-0.1 spec/helper.rb