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

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-21 13:25:41 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-21 13:25:41 +0300
commit241dda266ccc0c2499ef360a5b010b750b1a105d (patch)
tree784396fc115cb995fee5f8a90478b9d0856c67ff /Makefile
parent902ec4a68f0cd3110e5849c3d429ed34ab3e6091 (diff)
Add Handlebars to the development dependencies
Dependencies declared in "package.json" are installed locally, so the call to the handlebars script must be updated accordingly. To ensure that Handlebars is installed before using it the Make step to compile the templates now depends on the step to setup the development environment. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 74cb75876..d869554bd 100644
--- a/Makefile
+++ b/Makefile
@@ -31,8 +31,8 @@ install-npm-deps:
install-npm-deps-dev:
npm install --deps
-build-js-templates:
- handlebars -n OCA.VideoCalls.Admin.Templates js/admin/templates/ -f js/admin/templates.js
+build-js-templates: dev-setup
+ ./node_modules/.bin/handlebars -n OCA.VideoCalls.Admin.Templates js/admin/templates/ -f js/admin/templates.js
dev-setup: install-npm-deps-dev