From 10920b116bb2cdfb5c9ef3765e8bb489a1f4d38a Mon Sep 17 00:00:00 2001
From: David Trattnig <david.trattnig@o94.at>
Date: Thu, 12 Mar 2020 17:55:35 +0100
Subject: [PATCH] Include web bundles in build.

---
 script/build-web.sh | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/script/build-web.sh b/script/build-web.sh
index f211d223..2c43ede4 100755
--- a/script/build-web.sh
+++ b/script/build-web.sh
@@ -1,5 +1,16 @@
 
 echo "Building AURA Clock ..."
-(cd contrib/aura-clock && npm run build)
+(
+    cd contrib/aura-clock
+    npm run build
+)
+cp contrib/aura-clock/public/build/aura-clock-bundle.css web/css/aura-clock-bundle.css
+cp contrib/aura-clock/public/build/aura-clock-bundle.js web/js/aura-clock-bundle.js
+
 echo "Building AURA Player ..."
-(cd contrib/aura-player && npm install)
+(
+    cd contrib/aura-player
+    npm run build
+)
+cp contrib/aura-player/public/build/aura-player-bundle.css web/css/aura-player-bundle.css
+cp contrib/aura-player/public/build/aura-player-bundle.js web/js/aura-player-bundle.js
-- 
GitLab