This repository has been archived on 2022-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
2021-06-12 20:40:09 -05:00
|
|
|
#!/bin/sh
|
2021-05-29 19:37:41 -05:00
|
|
|
|
|
|
|
files=$(find public/ -name "*.html" -o -name "*.xml" -o -name "*.css" -o -name "*.js")
|
|
|
|
|
2021-06-12 20:40:09 -05:00
|
|
|
printf '%s\n' "$files" | parallel $@ "echo 'GZIP {}' && gzip -fnk {}"
|
|
|
|
printf '%s\n' "$files" | parallel $@ "echo 'BROTLI {}' && brotli -fZk {}"
|