$ErrorActionPreference = "Stop"
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
& "$dir\bin\rcl.cmd" --version
& "$dir\bin\rcl.cmd" doctor
& "$dir\bin\rcl.cmd" check "$dir\examples\hello-reality\main.rcl"
& "$dir\bin\rcl.cmd" robust "$dir\examples\4r-validation\main.rcl"
Write-Host "[rcl] 自检全部通过"
