Add make script.ps1
target for easy testing
Use like `make src/pester-tests/Test-Split-Path.Tests.ps1`
This commit is contained in:
parent
d7cc3e3d64
commit
a7010cd742
1 changed files with 4 additions and 0 deletions
|
@ -181,6 +181,10 @@ run-interactive: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-relea
|
|||
run-file: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
|
||||
exec_env/app_base/runps.sh --file $(PSSCRIPT)
|
||||
|
||||
# easy way to run individual PowerShell scripts, `make script.ps1` where the path is relative from monad-linux
|
||||
%.ps1: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-release-clr
|
||||
TEMP=/tmp exec_env/app_base/runps.sh --file ../../../$@
|
||||
|
||||
run-debugclr: $(RUN_TARGETS) internal-prepare-exec_env internal-prepare-debug-clr
|
||||
PAL_DBG_CHANNELS="+LOADER.TRACE" exec_env/app_base/runps-simple.sh get-location
|
||||
|
||||
|
|
Loading…
Reference in a new issue