summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.drone.yml9
-rwxr-xr-x[-rw-r--r--]build/compile-handlebars-templates.sh4
2 files changed, 13 insertions, 0 deletions
diff --git a/.drone.yml b/.drone.yml
index 5228d4e6562..0e87b974696 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -57,6 +57,14 @@ pipeline:
when:
matrix:
TESTS: checkers
+ handlebars:
+ image: node
+ commands:
+ - npm install handlebars -g
+ - ./build/compile-handlebars-templates.sh
+ when:
+ matrix:
+ TESTS: handlebars
syntax-php7.0:
image: nextcloudci/php7.0:php7.0-19
commands:
@@ -774,6 +782,7 @@ matrix:
- TESTS: vue-build-oauth2
- TESTS: vue-build-accessibility
- TESTS: vue-build-backupcodes
+ - TESTS: handlebars
- TESTS: nodb-codecov
ENABLE_REDIS: true
- TESTS: db-codecov
diff --git a/build/compile-handlebars-templates.sh b/build/compile-handlebars-templates.sh
index 1775f45b0fe..80e2e661f4d 100644..100755
--- a/build/compile-handlebars-templates.sh
+++ b/build/compile-handlebars-templates.sh
@@ -15,7 +15,11 @@ handlebars -n OCA.Files.FileSummary.Templates apps/files/js/filesummary.handleba
if [[ $(git diff --name-only) ]]; then
echo "Please submit your compiled handlebars templates"
+ echo
+ git diff
exit 1
fi
+
+echo "All up to date! Carry on :D"
exit 0