From 5b2b2ca267cb7f33406a24589128cc0b5d73cd8e Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Wed, 12 Jun 2013 07:27:12 -0700 Subject: [PATCH] TODO: file embed notes Change-Id: Ia0d35ca91f9d21724d90e90788108a21419562bc --- TODO | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TODO b/TODO index 6aca4b3d9..26f83c75c 100644 --- a/TODO +++ b/TODO @@ -14,6 +14,14 @@ Offline list: directories". make.go could further have a flag.Bool to do the zembed, defaulting to true. + Despite the full Closure source being 10 MB, it's only 2 MB if we + compress it and embed a zip or .tar.gz in the static binary: + + $ find tmp/closure-lib/closure/ -name '*.js' | xargs cat | wc + 327098 1214807 10449092 + $ find tmp/closure-lib/closure/ -name '*.js' | xargs cat | gzip -c | wc + 7436 58545 1932707 + -- tests for all cmd/* stuff, perhaps as part of some integration tests.