Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axil@gitlab.com>2019-12-09 13:04:58 +0300
committerAchilleas Pipinellis <axil@gitlab.com>2019-12-09 13:04:58 +0300
commit6352e9e18f227e8d7785a0f9771d8e8ff9968e0c (patch)
treece4bd7024b905a1323b21fbb100274a9a74356e4
parentfb2748efdc245bbda34a47a9cdbae36dc19aa46e (diff)
Don't minify XML files
The only XML file is the sitemap, no need to minify that. It also "breaks" when viewing it through the browser.
-rwxr-xr-xscripts/minify-assets.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/minify-assets.sh b/scripts/minify-assets.sh
index f5408ad9..02562039 100755
--- a/scripts/minify-assets.sh
+++ b/scripts/minify-assets.sh
@@ -21,6 +21,5 @@ printf "HTML..."; /scripts/minify -r --type=html --match=\.html -o ${TARGET}/${V
printf "CSS..." ; /scripts/minify -r --type=css --match=\.css -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true
printf "JSON..."; /scripts/minify -r --type=json --match=\.json -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true
printf "SVG..." ; /scripts/minify -r --type=svg --match=\.svg -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true
-printf "XML..." ; /scripts/minify -r --type=xml --match=\.xml -o ${TARGET}/${VER}/ ${TARGET}/${VER} || true
echo "Done"