Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for checkCleanDirWindows (0.11 sec)

  1. .teamcity/src/main/kotlin/common/extensions.kt

            scriptContent = if (os == Os.WINDOWS) {
                checkCleanDirWindows("%teamcity.agent.jvm.user.home%\\.m2\\repository") +
                    checkCleanDirWindows("%teamcity.agent.jvm.user.home%\\.m2\\.gradle-enterprise") +
                    checkCleanDirWindows("%teamcity.agent.jvm.user.home%\\.m2\\.develocity") +
                    checkCleanDirWindows(
                        "%teamcity.agent.jvm.user.home%\\.android",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

            echo "${'$'}REPO was polluted during the build"
            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
    """.trimIndent()
    
    fun checkCleanDirWindows(dir: String, exitOnFailure: Boolean = true) = """
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
    
    """.trimIndent()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top