##// END OF EJS Templates
hghave: add check for OS X packaging tools
Augie Fackler -
r29026:80f15aa3 stable
parent child Browse files
Show More
@@ -464,6 +464,19 b' def has_bdistmpkg():'
464 except ImportError:
464 except ImportError:
465 return False
465 return False
466
466
467 @check("osxpackaging", "OS X packaging tools")
468 def has_osxpackaging():
469 try:
470 return (matchoutput('pkgbuild', 'Usage: pkgbuild ', ignorestatus=1)
471 and matchoutput(
472 'productbuild', 'Usage: productbuild ',
473 ignorestatus=1)
474 and matchoutput('lsbom', 'Usage: lsbom', ignorestatus=1)
475 and matchoutput(
476 'xar --help', 'Usage: xar', ignorestatus=1))
477 except ImportError:
478 return False
479
467 @check("docker", "docker support")
480 @check("docker", "docker support")
468 def has_docker():
481 def has_docker():
469 pat = r'A self-sufficient runtime for'
482 pat = r'A self-sufficient runtime for'
General Comments 0
You need to be logged in to leave comments. Login now