diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-24 17:58:27 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-24 17:58:27 -0400 |
| commit | 886bcc6b7ddaabb020de392acf3528b182bd0973 (patch) | |
| tree | 043808d2d615d97a73f71c8e018a41e0737dc916 /build.py3 | |
| parent | dae78db343fe00b76956ce2a798fa2cce7d2c58c (diff) | |
Stuff
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: |
