def populate_package_names(build): if "core" not in build.config: build.config["core"] = {} if "android" not in build.config["core"]: build.config["core"]["android"] = {} build.config["core"]["android"][ "package_name"] = android_tasks._generate_package_name(build) if "firefox" not in build.config["core"]: build.config["core"]["firefox"] = {} build.config["core"]["firefox"][ "package_name"] = firefox_tasks._generate_package_name(build) if "safari" not in build.config["core"]: build.config["core"]["safari"] = {} build.config["core"]["safari"][ "package_name"] = safari_tasks._generate_package_name(build) if "ios" not in build.config["core"]: build.config["core"]["ios"] = {} build.config["core"]["ios"][ "package_name"] = ios_tasks._generate_package_name(build) if "osx" not in build.config["core"]: build.config["core"]["osx"] = {} build.config["core"]["osx"][ "package_name"] = osx_tasks._generate_package_name(build) if "ie" not in build.config["core"]: build.config["core"]["ie"] = {} build.config["core"]["ie"][ "package_name"] = ie_tasks._generate_package_name(build)
def populate_package_names(build): build.config['package_name'] = re.sub( "[^a-zA-Z0-9]", "", build.config["name"].lower()) + build.config["uuid"] if "core" not in build.config: build.config["core"] = {} if "android" not in build.config["core"]: build.config["core"]["android"] = {} build.config["core"]["android"][ "package_name"] = android_tasks._generate_package_name(build) if "firefox" not in build.config["core"]: build.config["core"]["firefox"] = {} build.config["core"]["firefox"][ "package_name"] = firefox_tasks._generate_package_name(build) if "safari" not in build.config["core"]: build.config["core"]["safari"] = {} build.config["core"]["safari"][ "package_name"] = safari_tasks._generate_package_name(build) if "ios" not in build.config["core"]: build.config["core"]["ios"] = {} build.config["core"]["ios"][ "package_name"] = ios_tasks._generate_package_name(build) if "osx" not in build.config["core"]: build.config["core"]["osx"] = {} build.config["core"]["osx"][ "package_name"] = osx_tasks._generate_package_name(build) if "ie" not in build.config["core"]: build.config["core"]["ie"] = {} build.config["core"]["ie"][ "package_name"] = ie_tasks._generate_package_name(build)
def populate_package_names(build): if "core" not in build.config: build.config["core"] = {} if "android" not in build.config["core"]: build.config["core"]["android"] = {} build.config["core"]["android"]["package_name"] = android_tasks._generate_package_name(build) if "firefox" not in build.config["core"]: build.config["core"]["firefox"] = {} build.config["core"]["firefox"]["package_name"] = firefox_tasks._generate_package_name(build) if "safari" not in build.config["core"]: build.config["core"]["safari"] = {} build.config["core"]["safari"]["package_name"] = safari_tasks._generate_package_name(build) if "ios" not in build.config["core"]: build.config["core"]["ios"] = {} build.config["core"]["ios"]["package_name"] = ios_tasks._generate_package_name(build) if "osx" not in build.config["core"]: build.config["core"]["osx"] = {} build.config["core"]["osx"]["package_name"] = osx_tasks._generate_package_name(build) if "ie" not in build.config["core"]: build.config["core"]["ie"] = {} build.config["core"]["ie"]["package_name"] = ie_tasks._generate_package_name(build)
def populate_package_names(build): build.config['package_name'] = re.sub("[^a-zA-Z0-9]", "", build.config["name"].lower()) + build.config["uuid"] if "core" not in build.config: build.config["core"] = {} if "android" not in build.config["core"]: build.config["core"]["android"] = {} build.config["core"]["android"]["package_name"] = android_tasks._generate_package_name(build) if "firefox" not in build.config["core"]: build.config["core"]["firefox"] = {} build.config["core"]["firefox"]["package_name"] = firefox_tasks._generate_package_name(build) if "safari" not in build.config["core"]: build.config["core"]["safari"] = {} build.config["core"]["safari"]["package_name"] = safari_tasks._generate_package_name(build) if "ios" not in build.config["core"]: build.config["core"]["ios"] = {} build.config["core"]["ios"]["package_name"] = ios_tasks._generate_package_name(build) if "osx" not in build.config["core"]: build.config["core"]["osx"] = {} build.config["core"]["osx"]["package_name"] = osx_tasks._generate_package_name(build) if "ie" not in build.config["core"]: build.config["core"]["ie"] = {} build.config["core"]["ie"]["package_name"] = ie_tasks._generate_package_name(build)