mirror of
https://github.com/9001/copyparty.git
synced 2026-03-24 17:13:01 +10:00
minify translations a little;
saves 7.4 KiB after zopfli; reduction from 343.8 to 336.4
This commit is contained in:
@@ -150,7 +150,7 @@ done
|
||||
|
||||
rm -rf contrib
|
||||
[ $fast ] && sed -ri s/573/10/ copyparty/web/Makefile
|
||||
(cd copyparty/web && make -j$(nproc) && rm Makefile)
|
||||
(cd copyparty/web && make -j$(nproc) && rm Makefile*)
|
||||
rm -f copyparty/web/deps/README.md
|
||||
|
||||
# build
|
||||
|
||||
@@ -435,7 +435,11 @@ find -name py.typed -delete
|
||||
find -type f \( -name .DS_Store -or -name ._.DS_Store \) -delete
|
||||
find -type f -name ._\* | while IFS= read -r f; do cmp <(printf '\x00\x05\x16') <(head -c 3 -- "$f") && rm -fv -- "$f"; done
|
||||
|
||||
rm -f copyparty/web/deps/*.full.* copyparty/web/deps/README.md copyparty/web/dbg-* copyparty/web/Makefile
|
||||
rm -f \
|
||||
copyparty/web/deps/*.full.* \
|
||||
copyparty/web/deps/README.md \
|
||||
copyparty/web/dbg-* \
|
||||
copyparty/web/Makefile*
|
||||
|
||||
find copyparty | LC_ALL=C sort | sed -r 's/\.gz$//;s/$/,/' > have
|
||||
cat have | while IFS= read -r x; do
|
||||
@@ -599,6 +603,10 @@ gzres() {
|
||||
np=$(nproc)
|
||||
echo "$pk #$np"
|
||||
|
||||
find copyparty/web/tl | grep '\.js$' | while IFS= read -r f; do
|
||||
/bin/sh ../copyparty/web/Makefile.s1 <"$f" >t; tmv "$f"
|
||||
done
|
||||
|
||||
while IFS=' ' read -r _ f; do
|
||||
while true; do
|
||||
na=$(ps auxwww | grep -F "$pk" | wc -l)
|
||||
|
||||
Reference in New Issue
Block a user