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>
This commit is contained in:
Daniel Calviño Sánchez 2018-11-21 11:25:41 +01:00
Родитель 902ec4a68f
Коммит 241dda266c
2 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -31,8 +31,8 @@ install-npm-deps:
install-npm-deps-dev: install-npm-deps-dev:
npm install --deps npm install --deps
build-js-templates: build-js-templates: dev-setup
handlebars -n OCA.VideoCalls.Admin.Templates js/admin/templates/ -f js/admin/templates.js ./node_modules/.bin/handlebars -n OCA.VideoCalls.Admin.Templates js/admin/templates/ -f js/admin/templates.js
dev-setup: install-npm-deps-dev dev-setup: install-npm-deps-dev

Просмотреть файл

@ -13,6 +13,7 @@
"author": "", "author": "",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"devDependencies": { "devDependencies": {
"handlebars": "^4.0.12",
"jasmine": "^2.5.2", "jasmine": "^2.5.2",
"jasmine-ajax": "^3.2.0", "jasmine-ajax": "^3.2.0",
"jasmine-core": "^2.5.2", "jasmine-core": "^2.5.2",