aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-01-12 13:14:21 -0500
committerJack Lloyd <[email protected]>2018-01-12 13:14:21 -0500
commit1a5f088bfeb31d7648ac90d71b118b2fd891743a (patch)
tree3bb171ccffe2d61f6d29e182fc5da196d5596661 /src
parent3099e920495c8e881387363de8e1b0bf7d1d5292 (diff)
Create an empty favicon.ico for the website build [ci skip]
Allows caching the result removing needless round trips.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/scripts/website.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/scripts/website.py b/src/scripts/website.py
index 763bfd16e..f80daadc0 100755
--- a/src/scripts/website.py
+++ b/src/scripts/website.py
@@ -147,6 +147,10 @@ def main(args):
for f in ['doc/pgpkey.txt', 'license.txt']:
shutil.copy(os.path.join(botan_dir, f), output_dir)
+ favicon = open(os.path.join(output_dir, 'favicon.ico'), 'w')
+ # Create an empty favicon.ico file so it gets cached by browsers
+ favicon.close()
+
shutil.rmtree(tmp_dir)
if __name__ == '__main__':