mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-26 19:00:53 +00:00
Merge with develop
--HG-- branch : compatibility-develop
This commit is contained in:
commit
ed68c612ac
2 changed files with 3 additions and 3 deletions
|
@ -136,7 +136,7 @@ else:
|
||||||
needUpdateBnp = needUpdateDirNoSubdirFile(log, sourcePath, targetBnp)
|
needUpdateBnp = needUpdateDirNoSubdirFile(log, sourcePath, targetBnp)
|
||||||
if (needUpdateBnp):
|
if (needUpdateBnp):
|
||||||
printLog(log, "BNP " + targetBnp)
|
printLog(log, "BNP " + targetBnp)
|
||||||
subprocess.call([ BnpMake, "/p", sourcePath, targetPath ] + package[1])
|
subprocess.call([ BnpMake, "-p", sourcePath, "-o", targetBnp ] + package[1][1:])
|
||||||
else:
|
else:
|
||||||
printLog(log, "SKIP " + targetBnp)
|
printLog(log, "SKIP " + targetBnp)
|
||||||
printLog(log, "")
|
printLog(log, "")
|
||||||
|
|
|
@ -134,8 +134,8 @@ int main(int argc, char **argv)
|
||||||
args.addArg("u", "unpack", "", "Unpack the BNP file to a directory");
|
args.addArg("u", "unpack", "", "Unpack the BNP file to a directory");
|
||||||
args.addArg("l", "list", "", "List the files contained in the BNP file");
|
args.addArg("l", "list", "", "List the files contained in the BNP file");
|
||||||
args.addArg("o", "output", "destination", "Output directory or file");
|
args.addArg("o", "output", "destination", "Output directory or file");
|
||||||
args.addArg("i", "if", "wildcard", "Add the file if it matches the wilcard (at least one 'if' conditions must be met for a file to be adding)");
|
args.addArg("i", "if", "wildcard", "Add the file if it matches the wilcard (at least one 'if' conditions must be met for a file to be adding)", false);
|
||||||
args.addArg("n", "ifnot", "wildcard", "Add the file if it doesn't match the wilcard (all the 'ifnot' conditions must be met for a file to be adding)");
|
args.addArg("n", "ifnot", "wildcard", "Add the file if it doesn't match the wilcard (all the 'ifnot' conditions must be met for a file to be adding)", false);
|
||||||
args.addAdditionalArg("input", "Input directory or BNP file depending on command");
|
args.addAdditionalArg("input", "Input directory or BNP file depending on command");
|
||||||
|
|
||||||
if (!args.parse(argc, argv)) return 1;
|
if (!args.parse(argc, argv)) return 1;
|
||||||
|
|
Loading…
Reference in a new issue