Skip to content

Commit

Permalink
Tools - Removed deprecated Mikero tools arguments make.py (#1293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dahlgren authored Feb 29, 2020
1 parent 5aa7690 commit 5056ea3
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions tools/make.py
Original file line number Diff line number Diff line change
Expand Up @@ -899,12 +899,6 @@ def main(argv):
quiet = True
argv.remove("quiet")

if "checkexternal" in argv:
argv.remove("checkexternal")
check_external = True
else:
check_external = False

if "version" in argv:
argv.remove("version")
version_update = True
Expand All @@ -926,8 +920,6 @@ def main(argv):
argv.remove("ci")
ciBuild = True

print_yellow("\nCheck external references is set to {}".format(str(check_external)))

# Get the directory the make script is in.
make_root = os.path.dirname(os.path.realpath(__file__))
make_root_parent = os.path.abspath(os.path.join(os.getcwd(), os.pardir))
Expand Down Expand Up @@ -1270,13 +1262,10 @@ def main(argv):

if os.path.isfile(nobinFilePath):
print_green("$NOBIN$ Found. Proceeding with non-binarizing!")
cmd = [makepboTool, "-P","-A","-G","-N","-X=*.backup", os.path.join(work_drive, prefix, module),os.path.join(module_root, release_dir, project,"addons")]
cmd = [makepboTool, "-P","-A","-X=*.backup", os.path.join(work_drive, prefix, module),os.path.join(module_root, release_dir, project,"addons")]

else:
if check_external:
cmd = [pboproject, "-P", os.path.join(work_drive, prefix, module), "+Engine=Arma3", "-S","+Noisy", "+G", "+Clean", "+Mod="+os.path.join(module_root, release_dir, project), "-Key"]
else:
cmd = [pboproject, "-P", os.path.join(work_drive, prefix, module), "+Engine=Arma3", "-S","+Noisy", "-G", "+Clean", "+Mod="+os.path.join(module_root, release_dir, project), "-Key"]
cmd = [pboproject, "-P", os.path.join(work_drive, prefix, module), "+Engine=Arma3", "-S", "+Noisy", "+Clean", "+Mod="+os.path.join(module_root, release_dir, project), "-Key"]

color("grey")
if quiet:
Expand Down

0 comments on commit 5056ea3

Please sign in to comment.