diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-29 14:27:19 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-29 14:27:19 +0300 |
commit | 869af4072ba4a759fa735189b68f06ac084af144 (patch) | |
tree | cf5d6471e4f251276945e95c4462cbb5efa3a5ed /compile-handlebars-templates.sh | |
parent | 52f744a8db53a1adce6440038163fddbb76ba54c (diff) |
Move handlebars checking to github action
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'compile-handlebars-templates.sh')
-rwxr-xr-x | compile-handlebars-templates.sh | 6 |
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 |