From 66cfaf69d20236a0185d9b68c04b5714b317a030 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 2 Nov 2022 23:46:53 +0100 Subject: [PATCH] Inline tons of stuff into the main HTML. --- .gitignore | 2 ++ build.sh | 5 +++++ www/{index.html => index.dev.html} | 17 +++++++---------- 3 files changed, 14 insertions(+), 10 deletions(-) rename www/{index.html => index.dev.html} (93%) diff --git a/.gitignore b/.gitignore index c6b42d3..3134bf1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,11 @@ config.local.pm junk/ www/analysis.json www/js/remoteglot.min.js +www/css/remoteglot.min.css tblog.txt ucilog.txt ficslog.txt openings.txt www/history/ closure/ +index.html diff --git a/build.sh b/build.sh index e2a5701..1c90330 100755 --- a/build.sh +++ b/build.sh @@ -8,6 +8,8 @@ # # https://raw.githubusercontent.com/jgallen23/jquery-builder/0.7.0/dist/2.1.1/jquery-deprecated-sizzle.js +umask 022 + java -jar closure-compiler-v20221004.jar \ --language_in ECMASCRIPT_2015 \ --compilation_level SIMPLE \ @@ -19,3 +21,6 @@ java -jar closure-compiler-v20221004.jar \ www/js/jquery.sparkline.js \ www/js/remoteglot.js +cat www/css/chessboard-0.3.0.min.css www/css/remoteglot.css | sass --scss -t compressed > www/css/remoteglot.min.css +perl replace.pl < www/index.dev.html > www/index.html + diff --git a/www/index.html b/www/index.dev.html similarity index 93% rename from www/index.html rename to www/index.dev.html index b99b6f1..b3e1cc4 100644 --- a/www/index.html +++ b/www/index.dev.html @@ -3,25 +3,22 @@ analysis.sesse.net - + + - + + + - + - - - - +