lib/milkode/common/grenfiletest.rb in milkode-0.9.2 vs lib/milkode/common/grenfiletest.rb in milkode-0.9.3
- old
+ new
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-
module GrenFileTest
- IGNORE_FILE = /(\A#.*#\Z)|(~\Z)|(\A\.#)|(\.d\Z)|(\.map\Z)|(\.MAP\Z)/
+ IGNORE_FILE = /(\A#.*#\Z)|(~\Z)|(\A\.#)|(\.d\Z)|(\.map\Z)|(\.MAP\Z)|(\.xbm\Z)|(\.ppm\Z)|(\.ai\Z)|(\.png\Z)|(\.webarchive\Z)/
IGNORE_DIR = /(\A\.svn\Z)|(\A\.git\Z)|(\ACVS\Z)/
def self.ignoreDir?(fpath)
IGNORE_DIR.match(File.basename(fpath))
end