diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2020-04-01 05:41:11 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2020-04-01 05:41:59 -0400 |
| commit | 9a5c093e0a52013ace348a3991041e4ff5eb1f81 (patch) | |
| tree | 3e2e063fb735a65fbb57f040b56978f3e9163031 | |
| parent | 2178ea6f4789e46046e26addfb2bf9e5bcd41686 (diff) | |
minify json
| -rwxr-xr-x | deploy_static | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy_static b/deploy_static index f5e37538..16c3959a 100755 --- a/deploy_static +++ b/deploy_static @@ -6,6 +6,7 @@ set -o errexit rm -rf static_tmp cp -a static static_tmp +json_reformat -m < static_tmp/manifest.webmanifest | sponge static_tmp/manifest.webmanifest find static_tmp -regex '\(.+/LICENSE\|.+\.\(css\|html\|ico\|js\|svg\|txt\|webmanifest\|xml\)\)' -exec zopfli {} \; -exec touch -r {} {}.gz \; remote=www-data@grapheneos.org |
