From 7fc030a3e09b3c2d2c2c01143b83ab8f4a24a923 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20L=2E=20=C5=A0ijanec?= Date: Fri, 15 May 2020 15:23:34 +0200 Subject: bvr (upstream) fixes, added support for nested commands problem: bvr_compose_stream (upstream) still adds a bunch of newlines; i don't know where the fuxk they come from, so <@?s latest_commit ?i .git/refs/heads/dev@> would still add some newlines around the included file, which is inacceptable. but this is just a fix for the previous binary, that was just broken. --- bin/compose-html | Bin 22688 -> 22696 bytes bin/compose-single | Bin 22544 -> 22552 bytes global.bvr | 1 + sw.js.bvr | 1 + 4 files changed, 2 insertions(+) diff --git a/bin/compose-html b/bin/compose-html index 4e7ae30..77a7093 100755 Binary files a/bin/compose-html and b/bin/compose-html differ diff --git a/bin/compose-single b/bin/compose-single index 0f4b7d4..80970bc 100755 Binary files a/bin/compose-single and b/bin/compose-single differ diff --git a/global.bvr b/global.bvr index b97e0df..3e44bce 100644 --- a/global.bvr +++ b/global.bvr @@ -1,2 +1,3 @@ <@?s bvr_include_path pages-src/ pages-src/misc/@> +# <@?s latest_commit ?i .git/refs/heads/dev@> <@?s app_version 1.0.13-beta@> diff --git a/sw.js.bvr b/sw.js.bvr index 37ddcbd..0f8491d 100644 --- a/sw.js.bvr +++ b/sw.js.bvr @@ -1,6 +1,7 @@ <@?i global@> // Change version to cause cache refresh const static_cache_name = "site-static-<@?g app_version@>"; +# // latest commit is <@?g latest_commit@> // Got them with find . -not -path '*/\.*' | sed "s/.*/\"&\",/" | grep -v sw.js // sw.js NE SME BITI CACHAN, ker vsebuje verzijo! -- cgit v1.2.3