Add to the build scripts to upload latest rest descriptions.

This commit is contained in:
Zack Piispanen 2015-04-04 01:46:38 -04:00
parent 05c127f20c
commit 4f2bfa9dd0
2 changed files with 4 additions and 2 deletions

View file

@ -9,7 +9,7 @@ def generate_release():
def generate_configs():
subprocess.call(['/usr/local/bin/mono', 'TerrariaServer.exe', '-dump'])
if not os.path.isfile('ConfigDescriptions.txt') or not os.path.isfile('PermissionsDescriptions.txt') or not os.path.isfile('ServerSideConfigDescriptions.txt'):
if not os.path.isfile('ConfigDescriptions.txt') or not os.path.isfile('PermissionsDescriptions.txt') or not os.path.isfile('ServerSideConfigDescriptions.txt') or not os.path.isfile('RestDescriptions.txt'):
raise CalledProcessError(1)
if __name__ == '__main__':