mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-20 09:06:34 +00:00

* generate demo icons * replace tab icons and update build file * review comments * review comments * update ignores * cleanup
20 lines
313 B
Bash
Executable File
20 lines
313 B
Bash
Executable File
#!/bin/sh
|
|
# Build the demo
|
|
|
|
# Stop on errors
|
|
set -e
|
|
|
|
cd "$(dirname "$0")/.."
|
|
|
|
OUTPUT_DIR=dist
|
|
|
|
rm -rf $OUTPUT_DIR
|
|
mkdir $OUTPUT_DIR
|
|
node script/gen-icons.js
|
|
|
|
cd ..
|
|
DEMO=1 ./node_modules/.bin/gulp build-translations gen-icons
|
|
cd demo
|
|
|
|
NODE_ENV=production ../node_modules/.bin/webpack -p --config webpack.config.js
|