예제 #1
0
def create_xpi(xpiname, pkg_name='aardvark', dirname='static-files',
               extra_harness_options={}):
    configs = test_packaging.get_configs(pkg_name, dirname)
    options = {'main': configs.target_cfg.main,
               'jetpackID': buildJID(configs.target_cfg), }
    options.update(configs.build)
    xpi.build_xpi(template_root_dir=xpi_template_path,
                  manifest=fake_manifest,
                  xpi_path=xpiname,
                  harness_options=options,
                  extra_harness_options=extra_harness_options)
예제 #2
0
def create_xpi(xpiname, pkg_name="aardvark", dirname="static-files", extra_harness_options={}):
    configs = test_packaging.get_configs(pkg_name, dirname)
    options = {"main": configs.target_cfg.main, "jetpackID": buildJID(configs.target_cfg)}
    options.update(configs.build)
    xpi.build_xpi(
        template_root_dir=xpi_template_path,
        manifest=fake_manifest,
        xpi_path=xpiname,
        harness_options=options,
        extra_harness_options=extra_harness_options,
    )