1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Update frontend build scripts for pep257

This commit is contained in:
Paulus Schoutsen
2016-03-12 10:52:48 -08:00
parent 159e287959
commit 2a75c6fcf6
4 changed files with 4 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ cp build/service_worker.js ..
# Generate the MD5 hash of the new frontend
cd ../..
echo '""" DO NOT MODIFY. Auto-generated by build_frontend script """' > version.py
echo '"""DO NOT MODIFY. Auto-generated by build_frontend script."""' > version.py
if [ $(command -v md5) ]; then
echo 'VERSION = "'`md5 -q www_static/frontend.html`'"' >> version.py
elif [ $(command -v md5sum) ]; then