Author: justi9
Date: 2009-03-31 06:06:45 -0400 (Tue, 31 Mar 2009)
New Revision: 3243
Added:
mgmt/trunk/bin/find-code
Modified:
mgmt/trunk/etc/devel.el
Log:
Add a project script that attempts to find all code; use it for emacs grepping
Added: mgmt/trunk/bin/find-code
===================================================================
--- mgmt/trunk/bin/find-code (rev 0)
+++ mgmt/trunk/bin/find-code 2009-03-31 10:06:45 UTC (rev 3243)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+find "$DEVEL_HOME" \
+ -regextype posix-awk \
+ -regex '.*\.(py|strings|sql|xml|js|css)$' \
+ -or \
+ -regex '.*/bin/[^/]+$' -executable -type f
Property changes on: mgmt/trunk/bin/find-code
___________________________________________________________________
Name: svn:executable
+ *
Modified: mgmt/trunk/etc/devel.el
===================================================================
--- mgmt/trunk/etc/devel.el 2009-03-30 22:27:37 UTC (rev 3242)
+++ mgmt/trunk/etc/devel.el 2009-03-31 10:06:45 UTC (rev 3243)
@@ -4,8 +4,7 @@
(progn
(shell "dev")
(setq tags-file-name (concat devel-home "/etc/devel.tags"))
- (setq grep-command (concat "find " devel-home
- " -name \\*.py -print | xargs fgrep -n "))
+ (setq grep-command "find-code | xargs fgrep -n ")
(setq compile-command "cumin-test")
(setq auto-mode-alist
(cons '("\\.strings$" . html-mode) auto-mode-alist)))
Show replies by date