-
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathmain.py
More file actions
18 lines (13 loc) · 599 Bytes
/
Copy pathmain.py
File metadata and controls
18 lines (13 loc) · 599 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python3
"""Prepare a release of PeridexisErrant's Starter Pack for Dwarf Fortress.
Downloads and checks versions, assembles components, checks configuration,
and prepares everything for upload.
This code is highly specific to my pack - it's released under the GPL3,
but don't expect it to be particularly reusable.
"""
import datetime
from starterpack import build, component, dist, extract
if __name__ == "__main__":
print("The time is {} UTC\n".format(str(datetime.datetime.utcnow()).split(".")[0]))
for stage in (component, extract, build, dist):
stage.main()