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