summaryrefslogtreecommitdiff
path: root/tmpl/regen_all.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/regen_all.sh')
-rw-r--r--tmpl/regen_all.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/tmpl/regen_all.sh b/tmpl/regen_all.sh
new file mode 100644
index 0000000..f9f4c95
--- /dev/null
+++ b/tmpl/regen_all.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+SCRIPT="`readlink -e $0`"
+SCRIPTPATH="`dirname $SCRIPT`"
+DEST=${SCRIPTPATH}/../include/gras
+
+python expand_template.py factory.tmpl.hpp ${DEST}/factory.hpp
+python expand_template.py factory_detail.tmpl.hpp ${DEST}/detail/factory.hpp
+python expand_template.py callable.tmpl.hpp ${DEST}/callable.hpp
+python expand_template.py callable_detail.tmpl.hpp ${DEST}/detail/callable.hpp