aboutsummaryrefslogtreecommitdiff
path: root/packages/challenger-ui/create_must.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packages/challenger-ui/create_must.sh')
-rwxr-xr-xpackages/challenger-ui/create_must.sh25
1 files changed, 0 insertions, 25 deletions
diff --git a/packages/challenger-ui/create_must.sh b/packages/challenger-ui/create_must.sh
deleted file mode 100755
index a4d78b2cc..000000000
--- a/packages/challenger-ui/create_must.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/bin/bash
-# This file is in the public domain.
-
-# After the compilation succeeded
-# some changes needs to be made
-# in the html/js files to match the
-# what the service expects
-
-cd dist/prod
-
-for file in *.html; do
-
- # 1. remove the js reference used for dev
- sed /main.js/d -i $file
-
- # 2. change the location of css since
- #challenger backend wants them in the root path
- sed 's/="main.css"/="..\/main.css"/' -i $file
-
- # 3. rename the extension to must template
- mv $file ${file:0:-5}.en.must
-done
-
-#delete unused files
-rm *.js *.map