Create .version after all files have been downloaded.
This commit is contained in:
parent
196be5291d
commit
15c31ad1ba
1 changed files with 3 additions and 3 deletions
|
@ -23,9 +23,6 @@ def main():
|
||||||
rm_rf('external_binaries')
|
rm_rf('external_binaries')
|
||||||
safe_mkdir('external_binaries')
|
safe_mkdir('external_binaries')
|
||||||
|
|
||||||
with open(version_file, 'w') as f:
|
|
||||||
f.write(VERSION)
|
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
download_and_unzip('Mantle')
|
download_and_unzip('Mantle')
|
||||||
download_and_unzip('ReactiveCocoa')
|
download_and_unzip('ReactiveCocoa')
|
||||||
|
@ -34,6 +31,9 @@ def main():
|
||||||
download_and_unzip('directxsdk')
|
download_and_unzip('directxsdk')
|
||||||
download_and_unzip('vs2012_crt')
|
download_and_unzip('vs2012_crt')
|
||||||
|
|
||||||
|
with open(version_file, 'w') as f:
|
||||||
|
f.write(VERSION)
|
||||||
|
|
||||||
|
|
||||||
def is_updated(version_file, version):
|
def is_updated(version_file, version):
|
||||||
existing_version = ''
|
existing_version = ''
|
||||||
|
|
Loading…
Reference in a new issue