diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-09-30 16:20:44 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-09-30 16:20:44 +0200 |
commit | 6b54b974f8e91feea82154e0bec0d6eaf57532fc (patch) | |
tree | 2c623ccafe1796887f9b305627e10b979fd7790d /build | |
parent | 407e4663ec7980571ea75663d194dbd624a84a25 (diff) | |
download | nextcloud-server-6b54b974f8e91feea82154e0bec0d6eaf57532fc.tar.gz nextcloud-server-6b54b974f8e91feea82154e0bec0d6eaf57532fc.zip |
Use handlebars from node_modules (on CI)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'build')
-rwxr-xr-x | build/compile-handlebars-templates.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/build/compile-handlebars-templates.sh b/build/compile-handlebars-templates.sh index 45fd4f57836..96d35fa3627 100755 --- a/build/compile-handlebars-templates.sh +++ b/build/compile-handlebars-templates.sh @@ -5,22 +5,22 @@ REPODIR=`git rev-parse --show-toplevel` cd $REPODIR # Settings -handlebars -n OC.Settings.Templates apps/settings/js/templates -f apps/settings/js/templates.js +node node_modules/handlebars/bin/handlebars -n OC.Settings.Templates apps/settings/js/templates -f apps/settings/js/templates.js # Systemtags -handlebars -n OC.SystemTags.Templates core/js/systemtags/templates -f core/js/systemtags/templates.js +node node_modules/handlebars/bin/handlebars -n OC.SystemTags.Templates core/js/systemtags/templates -f core/js/systemtags/templates.js # Share -handlebars -n OC.Share.Templates core/js/share -f core/js/sharetemplates.js +node node_modules/handlebars/bin/handlebars -n OC.Share.Templates core/js/share -f core/js/sharetemplates.js # Files app -handlebars -n OCA.Files.Templates apps/files/js/templates -f apps/files/js/templates.js +node node_modules/handlebars/bin/handlebars -n OCA.Files.Templates apps/files/js/templates -f apps/files/js/templates.js # Sharing -handlebars -n OCA.Sharing.Templates apps/files_sharing/js/templates -f apps/files_sharing/js/templates.js +node node_modules/handlebars/bin/handlebars -n OCA.Sharing.Templates apps/files_sharing/js/templates -f apps/files_sharing/js/templates.js # Files external -handlebars -n OCA.Files_External.Templates apps/files_external/js/templates -f apps/files_external/js/templates.js +node node_modules/handlebars/bin/handlebars -n OCA.Files_External.Templates apps/files_external/js/templates -f apps/files_external/js/templates.js if [[ $(git diff --name-only) ]]; then echo "Please submit your compiled handlebars templates" |