Moved "copy_important_files" call in front of make release and after building is done

Moved "cleanup_optionals" call in front of make release and after building is done
This commit is contained in:
ViperMaul 2015-04-23 14:53:49 -07:00
parent 79269db913
commit 898048eb95

View File

@ -1046,6 +1046,9 @@ See the make.cfg file for additional build options.
print_green("\nDone.")
copy_important_files(module_root_parent,os.path.join(release_dir, "@ace"))
cleanup_optionals(optionals_modules)
# Make release
if make_release:
print_blue("\nMaking release: " + project + "-" + release_version + ".zip")
@ -1085,10 +1088,6 @@ See the make.cfg file for additional build options.
except:
print_error("Could not copy files. Is Arma 3 running?")
copy_important_files(module_root_parent,os.path.join(release_dir, "@ace"))
cleanup_optionals(optionals_modules)
if __name__ == "__main__":
main(sys.argv)
input("Press Enter to continue...")