Recently Written · git

tag-gen

Generate tags for each directory and say what programming languages to look for

git clone https://github.com/equwal/tag-gen

Log | Files | Refs


commit 827c81118410e702d5cb0bb13055d8d89642e2bc
Spenser Truex <truex@equwal.com>
2025-09-04 23:13:54 -0700

Rename files for local build

 {config-examples => config}/local.conf | 0
 {config-examples => config}/root.conf  | 0
 tag-gen-root.sh                        | 4 ++++
 tag-gen-sbcl.sh                        | 5 -----
 tag-gen.lisp                           | 3 ---
 tag-gen.sh                             | 4 ++++
 6 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/config-examples/local.conf b/config/local.conf
similarity index 100%
rename from config-examples/local.conf
rename to config/local.conf
diff --git a/config-examples/root.conf b/config/root.conf
similarity index 100%
rename from config-examples/root.conf
rename to config/root.conf
diff --git a/tag-gen-root.sh b/tag-gen-root.sh
new file mode 100755
index 0000000..9caaf25
--- /dev/null
+++ b/tag-gen-root.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+sbcl --load /home/jose/common-lisp/tag-gen/tag-gen.lisp \
+  --eval '(tag-gen:main "config/local.conf" "/usr/bin/exuberant-ctags" 2)' \
+  --quit
diff --git a/tag-gen-sbcl.sh b/tag-gen-sbcl.sh
deleted file mode 100755
index 8b1a316..0000000
--- a/tag-gen-sbcl.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-sbcl --load /home/jose/common-lisp/tag-gen/tag-gen.lisp \
-  --eval '(tag-gen:main "/home/username/.config/tag-gen/local.conf" "/usr/bin/exuberant-ctags" 2)' \
-  --eval '(tag-gen:main "/home/username/.config/tag-gen/root.conf" "/usr/bin/exuberant-ctags" 2)' \
-  --quit
diff --git a/tag-gen.lisp b/tag-gen.lisp
index f26d479..ef4c75c 100644
--- a/tag-gen.lisp
+++ b/tag-gen.lisp
@@ -52,6 +52,3 @@
   (declare (ignorable argv))
   (with-open-file (s conf :direction :input)
       (tag-gen (read s) (unix-namestring tag-program))))
-
-; (main "/home/jose/.config/tag-gen/local.conf" "/usr/bin/exuberant-ctags" 2)
-; (main "/home/jose/.config/tag-gen/root.conf" "/usr/bin/exuberant-ctags" 2)
diff --git a/tag-gen.sh b/tag-gen.sh
new file mode 100755
index 0000000..de8bcbc
--- /dev/null
+++ b/tag-gen.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+sbcl --load /home/jose/common-lisp/tag-gen/tag-gen.lisp \
+  --eval '(tag-gen:main "config/root.conf" "/usr/bin/exuberant-ctags" 2)' \
+  --quit