diff options
Diffstat (limited to 'build/compile-handlebars-templates.sh')
-rwxr-xr-x | build/compile-handlebars-templates.sh | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/build/compile-handlebars-templates.sh b/build/compile-handlebars-templates.sh index 6a9397de3fa..57633e8a234 100755 --- a/build/compile-handlebars-templates.sh +++ b/build/compile-handlebars-templates.sh @@ -1,21 +1,15 @@ #!/usr/bin/env bash - +# +# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors +# SPDX-License-Identifier: AGPL-3.0-or-later +# REPODIR=`git rev-parse --show-toplevel` cd $REPODIR -# Comments files plugin -node node_modules/handlebars/bin/handlebars -n OCA.Comments.Templates apps/comments/src/templates -f apps/comments/src/templates.js - # Settings node node_modules/handlebars/bin/handlebars -n OC.Settings.Templates apps/settings/js/templates -f apps/settings/js/templates.js -# Files app -node node_modules/handlebars/bin/handlebars -n OCA.Files.Templates apps/files/js/templates -f apps/files/js/templates.js - -# Sharing -node node_modules/handlebars/bin/handlebars -n OCA.Sharing.Templates apps/files_sharing/js/templates -f apps/files_sharing/js/templates.js - # Files external node node_modules/handlebars/bin/handlebars -n OCA.Files_External.Templates apps/files_external/js/templates -f apps/files_external/js/templates.js @@ -26,6 +20,5 @@ if [[ $(git diff --name-only) ]]; then exit 1 fi - echo "All up to date! Carry on :D" exit 0 |