aboutsummaryrefslogtreecommitdiffstats
path: root/kaarvok
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-20 02:57:04 +0200
committerGravatar Tom Willemse2013-05-20 02:57:04 +0200
commita163906b15e20ae3b471f33b2a04629a51d9ea71 (patch)
treed62206ff97cc6af7a749ba1b58ad8f179086d099 /kaarvok
parentb02f3310321d0ef51b6b04e9518558000ccf98cf (diff)
downloadkaarvok-a163906b15e20ae3b471f33b2a04629a51d9ea71.tar.gz
kaarvok-a163906b15e20ae3b471f33b2a04629a51d9ea71.zip
Rename project to kaarvok
project-template was too general and used by other projects.
Diffstat (limited to 'kaarvok')
-rwxr-xr-xkaarvok26
1 files changed, 26 insertions, 0 deletions
diff --git a/kaarvok b/kaarvok
new file mode 100755
index 0000000..ccbfbb8
--- /dev/null
+++ b/kaarvok
@@ -0,0 +1,26 @@
+#!/bin/sh
+## kaarvok --- Generate directory structures from templates
+# Copyright (C) 2013 Tom Willemse <tom at ryuslash dot org>
+
+# This file is part of kaarvok.
+
+# kaarvok is free software: you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+
+# kaarvok is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+
+# You should have received a copy of the GNU General Public License
+# along with kaarvok. If not, see <http://www.gnu.org/licenses/>.
+
+if [ "${#@}" -lt 2 ]; then
+ echo "Usage: $0 <template name> <destination>"
+ exit 1
+fi
+
+/usr/bin/emacs -Q -batch -l kaarvok.el -eval \
+ "(kaarvok-create-project-from-template \"$1\" \"$2\")"