Use node_modules gulp in script/build_frontend (#9170)

This commit is contained in:
Adam Mills 2017-08-27 13:46:37 -04:00 committed by GitHub
parent 499d54c8fc
commit cd3f0f8f96

View file

@ -16,13 +16,13 @@ rm -rf homeassistant/components/frontend/www_static/core.js* \
cd homeassistant/components/frontend/www_static/home-assistant-polymer
# Build frontend
BUILD_DEV=0 gulp
BUILD_DEV=0 ./node_modules/.bin/gulp
cp bower_components/webcomponentsjs/webcomponents-lite.js ..
cp bower_components/webcomponentsjs/custom-elements-es5-adapter.js ..
cp build/*.js build/*.html ..
mkdir ../panels
cp build/panels/*.html ../panels
BUILD_DEV=0 gulp gen-service-worker
BUILD_DEV=0 ./node_modules/.bin/gulp gen-service-worker
cp build/service_worker.js ..
cd ..