From 78be29b60e00de0caebf2ba90daa55a4d6469f53 Mon Sep 17 00:00:00 2001 From: Dustin Swan Date: Thu, 19 Mar 2015 15:05:53 -0500 Subject: [PATCH] new build stuff for web client --- bin/webclient_files_have_changed | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/webclient_files_have_changed b/bin/webclient_files_have_changed index 9bf9e49..651a3c6 100755 --- a/bin/webclient_files_have_changed +++ b/bin/webclient_files_have_changed @@ -4,8 +4,12 @@ p4 edit visimeet.appcache sed -i "2 s/.*/#$(date +%s)/" visimeet.appcache +# compile jsx into js +jsx js/jsx js + # remake concatenated js and css files xargs cat < js/all_desktop.inc > /opt/iocom/user/webclient/all_desktop.js xargs cat < css/all_desktop.inc > /opt/iocom/user/webclient/css/all_desktop.css -#cat js/all_desktop.inc | xargs uglifyjs -o all_desktop.js +xargs cat < js/webrtc_api.inc > /opt/iocom/user/webclient/visiwebrtc.js +uglifyjs /opt/iocom/user/webclient/visiwebrtc.js -o /opt/iocom/user/webclient/visiwebrtc.js