remove ps1

This commit is contained in:
Michael Zhang 2021-10-01 13:39:08 -05:00
parent 310f9c2ade
commit a8ce29a3a8
Signed by: michael
GPG key ID: BDA47A31A3C8EE6B
2 changed files with 0 additions and 17 deletions

16
run.ps1
View file

@ -1,16 +0,0 @@
#blessed https://stackoverflow.com/a/52784160
function Invoke-Call {
param (
[scriptblock]$ScriptBlock,
[string]$ErrorAction = $ErrorActionPreference
)
& @ScriptBlock
if (($lastexitcode -ne 0) -and $ErrorAction -eq "Stop") {
exit $lastexitcode
}
}
Invoke-Call -ScriptBlock {mypy (get-item *.py) } -ErrorAction Stop
Invoke-Call -ScriptBlock {python agmain.py } -ErrorAction Stop
Invoke-Call -ScriptBlock {mypy (get-item gen/*.py) } -ErrorAction Stop

View file

@ -1 +0,0 @@
watchexec --shell=powershell -ce py,lark,ag -i gen './run.ps1'