remove ps1
This commit is contained in:
parent
310f9c2ade
commit
a8ce29a3a8
2 changed files with 0 additions and 17 deletions
16
run.ps1
16
run.ps1
|
@ -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
|
|
@ -1 +0,0 @@
|
|||
watchexec --shell=powershell -ce py,lark,ag -i gen './run.ps1'
|
Loading…
Reference in a new issue