From 56cfa0423067ee25e23836af524a2cf335471a45 Mon Sep 17 00:00:00 2001 From: Anton Todorov Date: Fri, 29 Jun 2018 15:39:01 +0300 Subject: [PATCH] B #2238 save and recover main.js symlink when rebuilding the gui --- src/sunstone/public/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sunstone/public/build.sh b/src/sunstone/public/build.sh index c11b6abc942..8925125bded 100755 --- a/src/sunstone/public/build.sh +++ b/src/sunstone/public/build.sh @@ -38,11 +38,15 @@ install_patch() { fi done + mv -f dist/main.js dist/main.js-var + grunt --gruntfile ./Gruntfile.js sass grunt --gruntfile ./Gruntfile.js requirejs mv -f dist/main.js dist/main-dist.js + + mv dist/main.js-var dist/main.js } #-------------------------------------------------------------------------------