summaryrefslogtreecommitdiffstats
path: root/compile-handlebars-templates.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compile-handlebars-templates.sh')
-rwxr-xr-xcompile-handlebars-templates.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/compile-handlebars-templates.sh b/compile-handlebars-templates.sh
new file mode 100755
index 000000000..663a5bd83
--- /dev/null
+++ b/compile-handlebars-templates.sh
@@ -0,0 +1,6 @@
+#!/usr/bin/env bash
+
+# Prefer the local handlebars script, and fall back to the global one.
+export PATH=./node_modules/.bin/:$PATH
+
+handlebars -n OCA.VideoCalls.Admin.Templates js/admin/templates/ -f js/admin/templates.js