зеркало из https://github.com/nextcloud/spreed.git
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:
Родитель
902ec4a68f
Коммит
241dda266c
4
Makefile
4
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
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
"author": "",
|
||||
"license": "AGPL-3.0",
|
||||
"devDependencies": {
|
||||
"handlebars": "^4.0.12",
|
||||
"jasmine": "^2.5.2",
|
||||
"jasmine-ajax": "^3.2.0",
|
||||
"jasmine-core": "^2.5.2",
|
||||
|
|
Загрузка…
Ссылка в новой задаче