From 7d9057cc62f4e454ed2399baf33ee4dbf81da122 Mon Sep 17 00:00:00 2001 From: ed Date: Tue, 1 Dec 2020 02:58:11 +0100 Subject: [PATCH] v0.6.0 --- copyparty/__version__.py | 6 +++--- copyparty/web/Makefile | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 copyparty/web/Makefile diff --git a/copyparty/__version__.py b/copyparty/__version__.py index 41977d04..c434d75a 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (0, 5, 7) -CODENAME = "fuse jelly" -BUILD_DT = (2020, 11, 30) +VERSION = (0, 6, 0) +CODENAME = "CHRISTMAAAAAS" +BUILD_DT = (2020, 12, 1) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/Makefile b/copyparty/web/Makefile new file mode 100644 index 00000000..4ccdbecc --- /dev/null +++ b/copyparty/web/Makefile @@ -0,0 +1,12 @@ +# run me to zopfli all the static files +# which should help on really slow connections +# but then why are you using copyparty in the first place + +pk: $(addsuffix .gz, $(wildcard *.js *.css)) +un: $(addsuffix .un, $(wildcard *.gz)) + +%.gz: % + pigz -11 -J 34 -I 5730 $< + +%.un: % + pigz -d $<