1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-11-24 10:12:19 -05:00

Make archive.py build the XEPs

This commit is contained in:
Jonas Wielicki 2017-11-29 12:45:29 +01:00
parent 598732ec46
commit 373a95c214

View File

@ -1,6 +1,7 @@
#!/usr/bin/env python3
import pathlib
import shutil
import subprocess
import sys
import xml.etree.ElementTree as etree
@ -71,6 +72,8 @@ def main():
print("XEP-{:04d}:".format(xep), old_version, "->", new_version)
subprocess.check_call(["make", "build/xep-{:04d}.html".format(xep)])
shutil.copy(str(curr_file), str(attic_file))
changed = True