INNER CODE UNIT · Python

gradle_install

intermine/intermine · config/lib/install_intermine.py:132

    def gradle_install(self, module: str) -> None:
        module_dir = os.path.join(self.checkout, module)
        os.chdir(module_dir)
        if self.clean:
            run(["./gradlew", "clean", "--stacktrace"], check=True)
        run(["./gradlew", "install", "--stacktrace"], check=True)


def main() -> None:
    parser = argparse.ArgumentParser(description="Install Intermine")
    parser.add_argument(
        "--clean",
        action="store_true",
        help="Run gradlew --clean before install",
    )

    parser.add_argument(
        "--offline",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…