diff options
author | Jack Lloyd <[email protected]> | 2018-01-12 13:14:21 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-12 13:14:21 -0500 |
commit | 1a5f088bfeb31d7648ac90d71b118b2fd891743a (patch) | |
tree | 3bb171ccffe2d61f6d29e182fc5da196d5596661 /src | |
parent | 3099e920495c8e881387363de8e1b0bf7d1d5292 (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-x | src/scripts/website.py | 4 |
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__': |