Example #1
0
def compare_sdktools():
    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Android"]["Sdktools"]["version"] == Request.sdk_tools_ver():
            print("SDK tools is in the same", (Request.sdk_tools_ver()),
                  "version as in project")
        else:
            print("New SDK Tools version", (Request.sdk_tools_ver()), "!!!")
Example #2
0
def compare_spoon():

    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Android"]["Spoon"]["version"] == Request.spoon_ver():
            print("Spoon is in the same", (Request.spoon_ver()),
                  "version as in project")
        else:
            print("New Spoon version", (Request.spoon_ver()), "!!!")
Example #3
0
def compare_gradle():

    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Android"]["Gradle"]["version"] == Request.gradle_ver():
            print("Gradle is in the same", (Request.gradle_ver()),
                  "version as in project")
        else:
            print("New Gradle version", (Request.gradle_ver()), "!!!")
Example #4
0
def compare_infer():

    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Android"]["Infer"]["version"] == Request.infer_ver():
            print("Infer is in the same", (Request.infer_ver()),
                  "version as in project")
        else:
            print("New Infer version !!!")
Example #5
0
def compare_openstf():

    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Android"]["Openstf"]["version"] == Request.openstf_ver():
            print("OpenSTF is in the same version ", (Request.openstf_ver()),
                  "as in project")
        else:
            print("New OpenSTF version !!!")
Example #6
0
def compare_ndk():

    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Android"]["Android NDK"]["version"] == Request.ndk_ver():
            print("NDK is in the same", (Request.ndk_ver()),
                  "version as in project")
        else:
            print("New NDK version", (Request.ndk_ver()), "!!!")
Example #7
0
def compare_oclint():
    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Ios"]["Oclint"]["version"] == Request.oclint_ver():
            print("Oclint is in the same version as in project")
        else:
            print("New Oclint version !!!")
Example #8
0
def compare_jazzy():
    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Ios"]["Appledoc"]["version"] == Request.jazzy_ver():
            print("Jazzy is in the same version as in project")
        else:
            print("New Jazzy version !!!")
Example #9
0
def compare_fabric():
    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Ios"]["Fabric"]["version"] == Request.fabric_ver():
            print("Fabric is in the same version as in project")
        else:
            print("New Fabric version !!!")
Example #10
0
def compare_xcode():
    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Ios"]["Xcode"]["version"] == Request.xcode_ver():
            print("Xcode is in the same version as in project")
        else:
            print("New Xcode version !!!")
Example #11
0
def compare_brew():

    with open("info_files/current_version.json", "r") as read_file:
        data = json.load(read_file)
        if data["Ios"]["Brew"]["version"] == Request.brew_ver():
            print("Brew is in the same version as in project")
        else:
            print("New Brew version !!!")