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:
parent
598732ec46
commit
373a95c214
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
import pathlib
|
import pathlib
|
||||||
import shutil
|
import shutil
|
||||||
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
import xml.etree.ElementTree as etree
|
import xml.etree.ElementTree as etree
|
||||||
@ -71,6 +72,8 @@ def main():
|
|||||||
|
|
||||||
print("XEP-{:04d}:".format(xep), old_version, "->", new_version)
|
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))
|
shutil.copy(str(curr_file), str(attic_file))
|
||||||
changed = True
|
changed = True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user