ignore specific folders within ruby projects in eproject and ack

This commit is contained in:
2011-12-21 01:15:21 +00:00
parent 8945087b4e
commit 9ab792649a
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(ac-menu-height 15)
'(ack-arguments (quote ("--ignore-dir=vendor/ruby" "--ignore-dir=vendor/bundle")))
'(ack-arguments (quote ("--ignore-dir=vendor/ruby" "--ignore-dir=vendor/bundle" "--ignore-dir=coverage" "--ignore-dir=docs" "--ignore-dir=doc")))
'(ack-project-root-file-patterns (quote (".project\\'" ".xcodeproj\\'" ".sln\\'" "\\`Project.ede\\'" "\\`.git\\'" "\\`.bzr\\'" "\\`_darcs\\'" "\\`.hg\\'" "\\`Gemfile\\'" "\\`Rakefile\\'")))
'(ack-prompt-for-directory (quote unless-guessed))
'(aquamacs-additional-fontsets nil t)

View File

@@ -2,7 +2,7 @@
(define-project-type ruby (generic)
(or (look-for "Rakefile") (look-for "Gemfile") (look-for "config.ru")
(look-for "\.gemspec$") (look-for "Capfile"))
:irrelevant-files ("^[#]" ".git/" "vendor/" "coverage/"
:irrelevant-files ("^[#]" ".git/" "vendor/" "coverage/" "doc/" "docs/"
"\.DS_Store"))
(define-project-type node-js (generic)