Commit 301c951a authored by ale's avatar ale

Hot-patch the Roundcube installation with our custom closure-compiler

parent 4575b0d9
Pipeline #7651 failed with stages
in 1 minute and 8 seconds
......@@ -37,6 +37,12 @@ download_roundcube_source() {
-C ${target} -f -
}
# TODO: hot-fix, remove
download_closure_compiler() {
curl -o /tmp/compiler.zip https://repo1.maven.org/maven2/com/google/javascript/closure-compiler/v20200719/closure-compiler-v20200719.jar
unzip -p /tmp/compiler.zip "*.jar" > /tmp/compiler.jar
}
apply_patches() {
local target=$1
local pname
......@@ -49,6 +55,7 @@ apply_patches() {
postprocess_sources() {
local target=$1
download_closure_compiler
echo "Compiling Javascript files..." >&2
(cd ${target} && ./bin/jsshrink.sh)
echo "Compiling CSS files..." >&2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment