diff --git a/run.ps1 b/run.ps1 deleted file mode 100644 index df70aaa..0000000 --- a/run.ps1 +++ /dev/null @@ -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 \ No newline at end of file diff --git a/watch.ps1 b/watch.ps1 deleted file mode 100644 index a73dcb6..0000000 --- a/watch.ps1 +++ /dev/null @@ -1 +0,0 @@ -watchexec --shell=powershell -ce py,lark,ag -i gen './run.ps1'