ci: make rm non-failing in case of non-existing directory
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
light7734 2026-02-02 12:44:06 +03:30
parent 2bd7b3edd6
commit e0767036b9
Signed by: light7734
GPG key ID: E7CE6145374F0B5F

View file

@ -1,6 +1,9 @@
# @ref https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category # @ref https://learn.microsoft.com/en-us/cpp/build/reference/compiler-options-listed-by-category
rm -Force -Recurse ./build if (Test-Path "./build") {
Remove-Item "./build" -r -force
}
cmake ` cmake `
-S . ` -S . `
-B build ` -B build `