summaryrefslogtreecommitdiff
path: root/deploy_static
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2020-04-01 05:41:11 -0400
committerDaniel Micay <danielmicay@gmail.com>2020-04-01 05:41:59 -0400
commit9a5c093e0a52013ace348a3991041e4ff5eb1f81 (patch)
tree3e2e063fb735a65fbb57f040b56978f3e9163031 /deploy_static
parent2178ea6f4789e46046e26addfb2bf9e5bcd41686 (diff)
minify json
Diffstat (limited to 'deploy_static')
-rwxr-xr-xdeploy_static1
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