run-windows.ps1 327 B

12345678
  1. param([string]$scenarios="[default]", [string]$server="kestrel")
  2. $scenarios = (-split $scenarios) -join ","
  3. cd Benchmarks
  4. dotnet restore
  5. dotnet build -c Release -f netcoreapp1.0
  6. Start-Process -NoNewWindow dotnet "run -c Release server.urls=http://*:8080 server=$server threadCount=1 NonInteractive=true scenarios=$scenarios"