diff options
Diffstat (limited to 'build.py3')
| -rwxr-xr-x | build.py3 | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,11 +1,11 @@ #!/usr/bin/env python3 -# -*- coding: utf-8 -*- -import brotli import gzip import os import shutil +import brotli + def clean_target(): if os.path.exists('target'): @@ -37,7 +37,6 @@ def compress_files(path: str): compress_files(file) return - base, ext = os.path.splitext(file) with open(file, 'rb') as f_in: data = f_in.read() with gzip.open(f"{file}.gz", 'wb') as f_out: |
