split brotli and zopfli jobs
This commit is contained in:
parent
c6219613d6
commit
161d6bddf2
@ -40,5 +40,10 @@ for file in static_tmp/**/*.@(atom|xml); do
|
|||||||
xmllint --noblanks "$file" --output "$file"
|
xmllint --noblanks "$file" --output "$file"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
brotli_k() {
|
||||||
|
brotli -k "$@"
|
||||||
|
}
|
||||||
|
export -f brotli_k
|
||||||
|
|
||||||
find static_tmp -regex '.+\.\(atom\|css\|html\|ico\|js\|json\|mjs\|pdf\|svg\|txt\|webmanifest\|xml\)' |
|
find static_tmp -regex '.+\.\(atom\|css\|html\|ico\|js\|json\|mjs\|pdf\|svg\|txt\|webmanifest\|xml\)' |
|
||||||
parallel "brotli -k {}; zopfli {}"
|
parallel -q ::: brotli_k zopfli :::: -
|
||||||
|
Loading…
x
Reference in New Issue
Block a user