All checks were successful
build / build-test (push) Successful in 1m31s
13 lines
473 B
PowerShell
13 lines
473 B
PowerShell
param([switch]$NoSync)
|
|
$ErrorActionPreference = 'Stop'
|
|
Set-Location $PSScriptRoot
|
|
|
|
if (-not $NoSync) {
|
|
Write-Host "Syncing my_cars.json from moria ..."
|
|
scp -q jan@192.168.1.2:Development/top_drives/my_cars.json .\my_cars.json
|
|
if ($LASTEXITCODE -ne 0) { throw "my_cars.json sync failed" }
|
|
}
|
|
|
|
Remove-Item .\*.csv -ErrorAction SilentlyContinue
|
|
cargo run --release --bin records -- all --min-count 10 --max-wishlist 305
|
|
Write-Host "Done. CSVs are in $PSScriptRoot"
|