$ErrorActionPreference = 'Stop'

$root = Split-Path -Parent $PSScriptRoot
$php = Join-Path $root 'runtime\php\php.exe'

Write-Host 'Mock CIOT homologacao: http://127.0.0.1:8081/api/v1'

& $php -S 127.0.0.1:8081 -t (Join-Path $root 'mock-provider\public')
