Terminal/scripts/run_match.ps1

8 lines
277 B
PowerShell
Raw Permalink Normal View History

2021-06-01 15:50:27 +00:00
$defaultAlgo="$pwd\python-algo"
if (!$args[0]) { $algo1="$defaultAlgo\run.ps1" } else { $algo1="$($args[0])\run.ps1"}
if (!$args[1]) { $algo2="$defaultAlgo\run.ps1" } else { $algo2="$($args[1])\run.ps1"}
echo p1: $algo1
echo p2: $algo2
java -jar engine.jar work $algo1 $algo2