10 行
587 B
PowerShell
10 行
587 B
PowerShell
param([switch]$QuickAppOnly, [switch]$Clean)
|
|
$ErrorActionPreference = 'Stop'
|
|
& python (Join-Path $PSScriptRoot 'scripts\convert-dictionary.py')
|
|
if ($LASTEXITCODE -ne 0) { throw 'Keyboard dictionary generation failed' }
|
|
& node (Join-Path $PSScriptRoot 'tests\engine.test.mjs')
|
|
if ($LASTEXITCODE -ne 0) { throw 'Keyboard engine tests failed' }
|
|
& node (Join-Path $PSScriptRoot 'tests\client.test.mjs')
|
|
if ($LASTEXITCODE -ne 0) { throw 'Keyboard client tests failed' }
|
|
& (Join-Path $PSScriptRoot '..\build-rtos-game.ps1') -ProjectRoot $PSScriptRoot -QuickAppOnly:$QuickAppOnly -Clean:$Clean
|