Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkCleanDirWindows (2.8 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 Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 12:58:05 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top