Add target win-gvproxy in winmake.ps1

For consistency with linux/osx makefile
I have added the win-gvproxy target as
an alias of win-sshproxy

[NO NEW TESTS NEEDED]

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
This commit is contained in:
Mario Loriedo
2024-02-29 15:26:10 +01:00
parent c2695fc9d2
commit abaa179aa0
2 changed files with 5 additions and 1 deletions

View File

@ -37,6 +37,7 @@ filtered_changes=$(git diff --name-only $base $head |
grep -F -vx go.sum | grep -F -vx go.sum |
grep -F -vx podman.spec.rpkg | grep -F -vx podman.spec.rpkg |
grep -F -vx .golangci.yml | grep -F -vx .golangci.yml |
grep -F -vx winmake.ps1 |
grep -E -v '/*Makefile$' | grep -E -v '/*Makefile$' |
grep -E -v '^[^/]+\.md$' | grep -E -v '^[^/]+\.md$' |
grep -E -v '^.github' | grep -E -v '^.github' |

View File

@ -87,7 +87,7 @@ switch ($target) {
'clean' { 'clean' {
Make-Clean Make-Clean
} }
'win-sshproxy' { {$_ -in 'win-sshproxy', 'win-gvproxy'} {
if ($args.Count -gt 1) { if ($args.Count -gt 1) {
$ref = $args[1] $ref = $args[1]
} }
@ -104,5 +104,8 @@ switch ($target) {
Write-Host Write-Host
Write-Host "Example: Run specfic machine tests " Write-Host "Example: Run specfic machine tests "
Write-Host " .\winmake localmachine "basic_test.go"" Write-Host " .\winmake localmachine "basic_test.go""
Write-Host
Write-Host "Example: Download win-gvproxy and win-sshproxy helpers"
Write-Host " .\winmake win-gvproxy"
} }
} }