diff options
author | Bob Arnson <bob@firegiant.com> | 2025-02-14 22:29:39 -0500 |
---|---|---|
committer | Bob Arnson <github@bobs.org> | 2025-03-03 14:25:07 -0500 |
commit | ca6e44d496b0c589fdaabad69a00643f539c47cd (patch) | |
tree | edf84727cecfc03092a2851b465d97622c5048eb /src/ext/PowerShell/ps.cmd | |
parent | ba7fd5837ea149b2e319cc577fad27ce1162a064 (diff) | |
download | wix-ca6e44d496b0c589fdaabad69a00643f539c47cd.tar.gz wix-ca6e44d496b0c589fdaabad69a00643f539c47cd.tar.bz2 wix-ca6e44d496b0c589fdaabad69a00643f539c47cd.zip |
Convert ext\ to MSTest and traversal projects.
- Move ext\ unit tests to MSTest.
- MSBuildify ext projects with MSTest execution.
- Fork test support projects for MSTest:
- WixInternal.TestSupport
- WixInternal.Core.TestPackage
Diffstat (limited to 'src/ext/PowerShell/ps.cmd')
-rw-r--r-- | src/ext/PowerShell/ps.cmd | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/ext/PowerShell/ps.cmd b/src/ext/PowerShell/ps.cmd deleted file mode 100644 index 4a8aa61e..00000000 --- a/src/ext/PowerShell/ps.cmd +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | @setlocal | ||
2 | @pushd %~dp0 | ||
3 | |||
4 | @set _C=Debug | ||
5 | :parse_args | ||
6 | @if /i "%1"=="release" set _C=Release | ||
7 | @if not "%1"=="" shift & goto parse_args | ||
8 | |||
9 | @echo PowerShell.wixext build %_C% | ||
10 | |||
11 | :: Build | ||
12 | msbuild -Restore -p:Configuration=%_C% -tl -nologo -warnaserror || exit /b | ||
13 | |||
14 | :: Test | ||
15 | dotnet test -c %_C% --no-build test\WixToolsetTest.PowerShell || exit /b | ||
16 | |||
17 | :: Pack | ||
18 | msbuild -t:Pack -p:Configuration=%_C% -tl -nologo -warnaserror -p:NoBuild=true wixext\WixToolset.PowerShell.wixext.csproj || exit /b | ||
19 | |||
20 | @popd | ||
21 | @endlocal | ||