Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_retention.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-01-29 14:27:19 +0300
committerJoas Schilling <coding@schilljs.com>2022-01-29 14:27:19 +0300
commit869af4072ba4a759fa735189b68f06ac084af144 (patch)
treecf5d6471e4f251276945e95c4462cbb5efa3a5ed /compile-handlebars-templates.sh
parent52f744a8db53a1adce6440038163fddbb76ba54c (diff)
Move handlebars checking to github action
Signed-off-by: Joas Schilling <coding@schilljs.com>
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 0000000..c07c388
--- /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.File_Retention.Templates js/templates/ -f js/templates.js