ci: make rm non-failing in case of non-existing directory
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
This commit is contained in:
parent
2bd7b3edd6
commit
e0767036b9
1 changed files with 4 additions and 1 deletions
|
|
@ -1,6 +1,9 @@
|
|||
# @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 `
|
||||
-S . `
|
||||
-B build `
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue