Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkCleanDirWindows (0.06 sec)

  1. .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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Nov 20 07:29:52 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top