def do_build(context, solution, target):
    mdtool = solution["mdtool"]
    solutionfile = solution["sln"]
    msbuild = context.env['MDTOOLBUILDCMD'] if mdtool else context.env['MSBUILDCMD']
    targetswitch =  "-t:" if mdtool else "/t:"
    buildshell = "%(msbuild)s %(sln)s %(targetswitch)sBuild" % {'sln':solutionfile, 'msbuild':msbuild, 'targetswitch':targetswitch}
    shell(buildshell)
예제 #2
0
def clean_debian(context):
    shell('rm -f ../ohos*.tar.gz ../ohos*.deb ../ohos*.changes ../ohos*.dsc')
예제 #3
0
def make_pkg(context):
    version = context.env["PACKAGE_VERSION"]
    shell('dch --newversion='+version+' < /bin/echo "automated hudson build"')
    shell(context.arch_vars["setup"] + "&&" + context.arch_vars["compiler"])