Native cameras build script output colorized.
This commit is contained in:
parent
a703df5456
commit
9085fbe1e0
@ -49,10 +49,10 @@ for s in ConfFile.readlines():
|
|||||||
if (os.path.exists(CameraLib)):
|
if (os.path.exists(CameraLib)):
|
||||||
try:
|
try:
|
||||||
shutil.copyfile(CameraLib, os.path.join("..", "3rdparty", "lib", Arch, "lib" + MakeTarget + ".so"))
|
shutil.copyfile(CameraLib, os.path.join("..", "3rdparty", "lib", Arch, "lib" + MakeTarget + ".so"))
|
||||||
print("Building %s for %s\t[OK]" % (MakeTarget, Arch));
|
print("Building %s for %s\t[\033[92mOK\033[0m]" % (MakeTarget, Arch));
|
||||||
except:
|
except:
|
||||||
print("Building %s for %s\t[FAILED]" % (MakeTarget, Arch));
|
print("Building %s for %s\t[\033[91mFAILED\033[0m]" % (MakeTarget, Arch));
|
||||||
else:
|
else:
|
||||||
print("Building %s for %s\t[FAILED]" % (MakeTarget, Arch));
|
print("Building %s for %s\t[\033[91mFAILED\033[0m]" % (MakeTarget, Arch));
|
||||||
ConfFile.close()
|
ConfFile.close()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user