Sha256: 59722a9700ad8048caf7202da190ee06522a9bbfcae25b5ea75055cd9dcf3a0d

Contents?: true

Size: 371 Bytes

Versions: 1

Compression:

Stored size: 371 Bytes

Contents

# encoding: utf-8

module Rake
    class FileList
        def self.get_ignored_dir_pattern(dir)
            Regexp.new("(^|[\\/\\\\])#{dir}([\\/\\\\]|$)", true)
        end
        IGNORE_GIT_PATTERN = get_ignored_dir_pattern('.git')
        DEFAULT_IGNORE_PATTERNS << IGNORE_GIT_PATTERN \
            if !DEFAULT_IGNORE_PATTERNS.include?(IGNORE_GIT_PATTERN)
    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake-delphi-0.0.4 lib/rake/helpers/filelist.rb