Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Basic script to run ctags for PHP on a specific directory.

  • Loading branch information...
commit 1a69203fe2a2692099afb964400301ecaef1bf25 1 parent 44a65bd
@joshbenham authored
Showing with 18 additions and 0 deletions.
  1. +18 −0 ctags-php
View
18 ctags-php
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+#
+# Basic script to run ctags for PHP on a specific directory
+#
+
+if test "$1"
+then
+ cd "$1"
+fi
+
+echo "Running ctags."
+echo " --> cd ${PWD}"
+echo " --> ctags -R --languages=php --PHP-kinds=+cifd --tag-relative=yes"
+
+ctags -R --languages=php --PHP-kinds=+cifd --tag-relative=yes
+
+echo "Script has finished."
Please sign in to comment.
Something went wrong with that request. Please try again.