mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
#552 - Default: don't check external files
This commit is contained in:
parent
f7de809c67
commit
8bfb76c965
@ -321,6 +321,7 @@ make.py [help] [test] [force] [key <name>] [target <name>] [release <version>]
|
|||||||
test -- Copy result to Arma 3.
|
test -- Copy result to Arma 3.
|
||||||
release <version> -- Make archive with <version>.
|
release <version> -- Make archive with <version>.
|
||||||
force -- Ignore cache and build all.
|
force -- Ignore cache and build all.
|
||||||
|
checkexternal -- Check External Files
|
||||||
target <name> -- Use rules in make.cfg under heading [<name>] rather than
|
target <name> -- Use rules in make.cfg under heading [<name>] rather than
|
||||||
default [Make]
|
default [Make]
|
||||||
key <name> -- Use key in working directory with <name> to sign. If it does not
|
key <name> -- Use key in working directory with <name> to sign. If it does not
|
||||||
@ -378,6 +379,12 @@ See the make.cfg file for additional build options.
|
|||||||
quiet = True
|
quiet = True
|
||||||
argv.remove("quiet")
|
argv.remove("quiet")
|
||||||
|
|
||||||
|
if "checkexternal" in argv:
|
||||||
|
argv.remove("checkexternal")
|
||||||
|
check_external = True
|
||||||
|
else:
|
||||||
|
check_external = False
|
||||||
|
|
||||||
# Get the directory the make script is in.
|
# Get the directory the make script is in.
|
||||||
make_root = os.path.dirname(os.path.realpath(__file__))
|
make_root = os.path.dirname(os.path.realpath(__file__))
|
||||||
make_root_parent = os.path.abspath(os.path.join(os.getcwd(), os.pardir))
|
make_root_parent = os.path.abspath(os.path.join(os.getcwd(), os.pardir))
|
||||||
@ -658,8 +665,12 @@ See the make.cfg file for additional build options.
|
|||||||
cmd = [makepboTool, "-P","-A","-L","-N","-G", os.path.join(work_drive, prefix, module),os.path.join(module_root, release_dir, project,"Addons")]
|
cmd = [makepboTool, "-P","-A","-L","-N","-G", os.path.join(work_drive, prefix, module),os.path.join(module_root, release_dir, project,"Addons")]
|
||||||
|
|
||||||
else:
|
else:
|
||||||
|
if check_external:
|
||||||
cmd = [pboproject, "-P", os.path.join(work_drive, prefix, module), "+Engine=Arma3", "-S","+Noisy", "+X", "+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", "+X", "+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", "-X", "+Clean", "+Mod="+os.path.join(module_root, release_dir, project), "-Key"]
|
||||||
|
|
||||||
|
print_yellow(cmd)
|
||||||
color("grey")
|
color("grey")
|
||||||
if quiet:
|
if quiet:
|
||||||
devnull = open(os.devnull, 'w')
|
devnull = open(os.devnull, 'w')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user