We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3c4bfc commit e1f8de4Copy full SHA for e1f8de4
1 file changed
build.ps1
@@ -1,9 +1,14 @@
1
cargo build --release
2
if (Test-Path ./build) {
3
- Remove-Item -Path ./build -Recurse
+ Remove-Item -Path ./build/* -Recurse
4
+} else {
5
+ New-Item -Path ./build -ItemType directory > $null
6
+}
7
+if (Test-Path ./dist) {
8
+ Remove-Item -Path ./dist/* -Recurse
9
10
+ New-Item -Path ./dist -ItemType directory > $null
11
}
-New-Item -Path ./build -ItemType directory > $null
-New-Item -Path ./dist -ItemType directory > $null
12
Copy-Item -Path ./target/release/tabletdrivercleanup.exe -Destination ./build
13
Copy-Item -Path ./eng/dump.bat -Destination ./build
14
Copy-Item -Path ./eng/dry_run.bat -Destination ./build
0 commit comments