mirror of
https://github.com/GrapheneOS/matrix.grapheneos.org.git
synced 2025-02-01 01:44:59 -05:00
split brotli and zopfli jobs
This commit is contained in:
parent
8a4a3ef0df
commit
1a6400af4e
@ -11,5 +11,10 @@ cp --remove-destination webapps/element/config.json static_tmp/config.json
|
|||||||
|
|
||||||
cp nginx/nginx.conf nginx.conf.tmp
|
cp nginx/nginx.conf nginx.conf.tmp
|
||||||
|
|
||||||
|
brotli_k() {
|
||||||
|
brotli -k "$@"
|
||||||
|
}
|
||||||
|
export -f brotli_k
|
||||||
|
|
||||||
find static_tmp -regex '.+\.\(css\|html\|ico\|js\|json\|map\|svg\|txt\|webmanifest\|xml\|wasm\)' |
|
find static_tmp -regex '.+\.\(css\|html\|ico\|js\|json\|map\|svg\|txt\|webmanifest\|xml\|wasm\)' |
|
||||||
parallel "brotli -k {}; zopfli {}"
|
parallel -q ::: brotli_k zopfli :::: -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user