From abaa179aa0e6434a4aecbca16e468fe56f0a33de Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Thu, 29 Feb 2024 15:26:10 +0100 Subject: [PATCH] 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 --- contrib/cirrus/pr-should-include-tests | 1 + winmake.ps1 | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/cirrus/pr-should-include-tests b/contrib/cirrus/pr-should-include-tests index 9e41de87d2..bb9626ac13 100755 --- a/contrib/cirrus/pr-should-include-tests +++ b/contrib/cirrus/pr-should-include-tests @@ -37,6 +37,7 @@ filtered_changes=$(git diff --name-only $base $head | grep -F -vx go.sum | grep -F -vx podman.spec.rpkg | grep -F -vx .golangci.yml | + grep -F -vx winmake.ps1 | grep -E -v '/*Makefile$' | grep -E -v '^[^/]+\.md$' | grep -E -v '^.github' | diff --git a/winmake.ps1 b/winmake.ps1 index 034efac03d..cf8a10d1b5 100644 --- a/winmake.ps1 +++ b/winmake.ps1 @@ -87,7 +87,7 @@ switch ($target) { 'clean' { Make-Clean } - 'win-sshproxy' { + {$_ -in 'win-sshproxy', 'win-gvproxy'} { if ($args.Count -gt 1) { $ref = $args[1] } @@ -104,5 +104,8 @@ switch ($target) { Write-Host Write-Host "Example: Run specfic machine tests " Write-Host " .\winmake localmachine "basic_test.go"" + Write-Host + Write-Host "Example: Download win-gvproxy and win-sshproxy helpers" + Write-Host " .\winmake win-gvproxy" } }