def run_build(fips_dir, target, build_type, build_dir, num_jobs=1) :
    if not target :
        target = "ALL_BUILD"
    cmdLine = 'xcodebuild -jobs {} -configuration {} -target {}'.format(num_jobs, build_type, target)
    print(cmdLine)
    res = subprocess.call(cmdLine, cwd=build_dir, shell=True)
    return res == 0

#------------------------------------------------------------------------------
Export list of intervals passing fold change threshold to file
dataset/ETHPy150Open floooh/fips/mod/tools/xcodebuild.py/run_build--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_proj012_chipseq.py/exportIntervalsAsBedsolo