aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2021-05-04 22:49:35 -0700
committerRob Mensching <rob@firegiant.com>2021-05-04 22:49:35 -0700
commit59765d27eb205b7b62a5057cfb631caee97f0af6 (patch)
tree0ef38df9efc55be04565b56eb9408d649862c16d /src
parent0a7de80d773dba9d93b64015934a92fd908824d7 (diff)
downloadwix-59765d27eb205b7b62a5057cfb631caee97f0af6.tar.gz
wix-59765d27eb205b7b62a5057cfb631caee97f0af6.tar.bz2
wix-59765d27eb205b7b62a5057cfb631caee97f0af6.zip
Move PowerShell.wixext into ext
Diffstat (limited to 'src')
-rw-r--r--src/.editorconfig37
-rw-r--r--src/ext/PowerShell/CSharp.Build.props (renamed from src/CSharp.Build.props)0
-rw-r--r--src/ext/PowerShell/Directory.Build.props (renamed from src/Directory.Build.props)0
-rw-r--r--src/ext/PowerShell/Directory.Build.targets (renamed from src/Directory.Build.targets)0
-rw-r--r--src/ext/PowerShell/FindLocalWix.props (renamed from src/FindLocalWix.props)0
-rw-r--r--src/ext/PowerShell/PowerShell.wixext.sln63
-rw-r--r--src/ext/PowerShell/README.md2
-rw-r--r--src/ext/PowerShell/appveyor.cmd13
-rw-r--r--src/ext/PowerShell/appveyor.yml40
-rw-r--r--src/ext/PowerShell/nuget.config14
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs (renamed from src/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs)0
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.en-us.wxl (renamed from src/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.en-us.wxl)0
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.wxs (renamed from src/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.wxs)0
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/PackageComponents.wxs (renamed from src/test/WixToolsetTest.PowerShell/TestData/TypesFile/PackageComponents.wxs)0
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/example.txt (renamed from src/test/WixToolsetTest.PowerShell/TestData/TypesFile/example.txt)0
-rw-r--r--src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj (renamed from src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj)0
-rw-r--r--src/ext/PowerShell/wix.snk (renamed from src/wix.snk)bin596 -> 596 bytes
-rw-r--r--src/ext/PowerShell/wixext/PSCompiler.cs (renamed from src/wixext/PSCompiler.cs)0
-rw-r--r--src/ext/PowerShell/wixext/PSErrors.cs (renamed from src/wixext/PSErrors.cs)0
-rw-r--r--src/ext/PowerShell/wixext/PSExtensionData.cs (renamed from src/wixext/PSExtensionData.cs)0
-rw-r--r--src/ext/PowerShell/wixext/PSWarnings.cs (renamed from src/wixext/PSWarnings.cs)0
-rw-r--r--src/ext/PowerShell/wixext/PowerShellExtensionFactory.cs (renamed from src/wixext/PowerShellExtensionFactory.cs)0
-rw-r--r--src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj (renamed from src/wixext/WixToolset.PowerShell.wixext.csproj)0
-rw-r--r--src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.targets (renamed from src/wixext/WixToolset.PowerShell.wixext.targets)0
-rw-r--r--src/ext/PowerShell/wixlib/PSExtension.wxs (renamed from src/wixlib/PSExtension.wxs)0
-rw-r--r--src/ext/PowerShell/wixlib/powershell.wixproj (renamed from src/wixlib/powershell.wixproj)0
-rw-r--r--src/ext/global.json5
-rw-r--r--src/version.json11
28 files changed, 185 insertions, 0 deletions
diff --git a/src/.editorconfig b/src/.editorconfig
new file mode 100644
index 00000000..1d72e683
--- /dev/null
+++ b/src/.editorconfig
@@ -0,0 +1,37 @@
1# Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2#
3# Do NOT modify this file. Update the canonical version in Home\repo-template\src\.editorconfig
4# then update all of the repos.
5
6root = true
7
8[*]
9charset = utf-8
10indent_style = space
11indent_size = 4
12trim_trailing_whitespace = true
13
14[*.{cs,vb}]
15dotnet_sort_system_directives_first = true
16
17[*.cs]
18csharp_indent_case_contents = true : error
19csharp_indent_switch_labels = true : error
20csharp_new_line_before_open_brace = all
21csharp_prefer_braces = true : error
22csharp_style_expression_bodied_methods = when_on_single_line : suggestion
23csharp_style_expression_bodied_constructors = when_on_single_line : suggestion
24csharp_style_expression_bodied_operators = when_on_single_line : suggestion
25csharp_style_expression_bodied_properties = when_on_single_line : suggestion
26csharp_style_expression_bodied_indexers = when_on_single_line : suggestion
27csharp_style_expression_bodied_accessors = when_on_single_line : suggestion
28csharp_style_var_elsewhere = true : suggestion
29csharp_style_var_for_built_in_types = true : suggestion
30csharp_style_var_when_type_is_apparent = true : suggestion
31dotnet_style_qualification_for_event = true : error
32dotnet_style_qualification_for_field = true : error
33dotnet_style_qualification_for_method = true : error
34dotnet_style_qualification_for_property = true : error
35
36[*.targets]
37indent_size = 2
diff --git a/src/CSharp.Build.props b/src/ext/PowerShell/CSharp.Build.props
index b12f4c6e..b12f4c6e 100644
--- a/src/CSharp.Build.props
+++ b/src/ext/PowerShell/CSharp.Build.props
diff --git a/src/Directory.Build.props b/src/ext/PowerShell/Directory.Build.props
index f83cc154..f83cc154 100644
--- a/src/Directory.Build.props
+++ b/src/ext/PowerShell/Directory.Build.props
diff --git a/src/Directory.Build.targets b/src/ext/PowerShell/Directory.Build.targets
index dac7452a..dac7452a 100644
--- a/src/Directory.Build.targets
+++ b/src/ext/PowerShell/Directory.Build.targets
diff --git a/src/FindLocalWix.props b/src/ext/PowerShell/FindLocalWix.props
index 1666e4fe..1666e4fe 100644
--- a/src/FindLocalWix.props
+++ b/src/ext/PowerShell/FindLocalWix.props
diff --git a/src/ext/PowerShell/PowerShell.wixext.sln b/src/ext/PowerShell/PowerShell.wixext.sln
new file mode 100644
index 00000000..a036d47e
--- /dev/null
+++ b/src/ext/PowerShell/PowerShell.wixext.sln
@@ -0,0 +1,63 @@
1
2Microsoft Visual Studio Solution File, Format Version 12.00
3# Visual Studio Version 16
4VisualStudioVersion = 16.0.30611.23
5MinimumVisualStudioVersion = 15.0.26124.0
6Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "powershell", "src\wixlib\powershell.wixproj", "{9D4CCDFC-840C-4D4E-A9B0-3D6015480645}"
7EndProject
8Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolset.PowerShell.wixext", "src\wixext\WixToolset.PowerShell.wixext.csproj", "{6F1482DF-1598-4D88-BDAA-B9D0E0242139}"
9EndProject
10Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WixToolsetTest.PowerShell", "src\test\WixToolsetTest.PowerShell\WixToolsetTest.PowerShell.csproj", "{BFD10109-F4F3-4530-BE3B-802342D411F7}"
11EndProject
12Global
13 GlobalSection(SolutionConfigurationPlatforms) = preSolution
14 Debug|Any CPU = Debug|Any CPU
15 Debug|x64 = Debug|x64
16 Debug|x86 = Debug|x86
17 Release|Any CPU = Release|Any CPU
18 Release|x64 = Release|x64
19 Release|x86 = Release|x86
20 EndGlobalSection
21 GlobalSection(ProjectConfigurationPlatforms) = postSolution
22 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|Any CPU.ActiveCfg = Debug|x86
23 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|Any CPU.Build.0 = Debug|x86
24 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|x64.ActiveCfg = Debug|x86
25 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|x86.ActiveCfg = Debug|x86
26 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Debug|x86.Build.0 = Debug|x86
27 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|Any CPU.ActiveCfg = Release|x86
28 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|Any CPU.Build.0 = Release|x86
29 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|x64.ActiveCfg = Release|x86
30 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|x86.ActiveCfg = Release|x86
31 {9D4CCDFC-840C-4D4E-A9B0-3D6015480645}.Release|x86.Build.0 = Release|x86
32 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
33 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|Any CPU.Build.0 = Debug|Any CPU
34 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x64.ActiveCfg = Debug|Any CPU
35 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x64.Build.0 = Debug|Any CPU
36 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x86.ActiveCfg = Debug|Any CPU
37 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Debug|x86.Build.0 = Debug|Any CPU
38 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|Any CPU.ActiveCfg = Release|Any CPU
39 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|Any CPU.Build.0 = Release|Any CPU
40 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x64.ActiveCfg = Release|Any CPU
41 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x64.Build.0 = Release|Any CPU
42 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x86.ActiveCfg = Release|Any CPU
43 {6F1482DF-1598-4D88-BDAA-B9D0E0242139}.Release|x86.Build.0 = Release|Any CPU
44 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|Any CPU.Build.0 = Debug|Any CPU
46 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x64.ActiveCfg = Debug|Any CPU
47 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x64.Build.0 = Debug|Any CPU
48 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x86.ActiveCfg = Debug|Any CPU
49 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Debug|x86.Build.0 = Debug|Any CPU
50 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|Any CPU.ActiveCfg = Release|Any CPU
51 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|Any CPU.Build.0 = Release|Any CPU
52 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x64.ActiveCfg = Release|Any CPU
53 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x64.Build.0 = Release|Any CPU
54 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x86.ActiveCfg = Release|Any CPU
55 {BFD10109-F4F3-4530-BE3B-802342D411F7}.Release|x86.Build.0 = Release|Any CPU
56 EndGlobalSection
57 GlobalSection(SolutionProperties) = preSolution
58 HideSolutionNode = FALSE
59 EndGlobalSection
60 GlobalSection(ExtensibilityGlobals) = postSolution
61 SolutionGuid = {60A3EA0F-9313-47F8-BF6B-74478A57B577}
62 EndGlobalSection
63EndGlobal
diff --git a/src/ext/PowerShell/README.md b/src/ext/PowerShell/README.md
new file mode 100644
index 00000000..6de236f7
--- /dev/null
+++ b/src/ext/PowerShell/README.md
@@ -0,0 +1,2 @@
1# PowerShell.wixext
2WixToolset.PowerShell.wixext - PowerShell WiX Toolset Extension
diff --git a/src/ext/PowerShell/appveyor.cmd b/src/ext/PowerShell/appveyor.cmd
new file mode 100644
index 00000000..27d33a5d
--- /dev/null
+++ b/src/ext/PowerShell/appveyor.cmd
@@ -0,0 +1,13 @@
1@setlocal
2@pushd %~dp0
3
4nuget restore
5
6msbuild -p:Configuration=Release -t:Restore
7
8msbuild -p:Configuration=Release src\test\WixToolsetTest.PowerShell\WixToolsetTest.PowerShell.csproj
9
10msbuild -p:Configuration=Release -t:Pack src\wixext\WixToolset.PowerShell.wixext.csproj
11
12@popd
13@endlocal \ No newline at end of file
diff --git a/src/ext/PowerShell/appveyor.yml b/src/ext/PowerShell/appveyor.yml
new file mode 100644
index 00000000..7c686b04
--- /dev/null
+++ b/src/ext/PowerShell/appveyor.yml
@@ -0,0 +1,40 @@
1# Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2#
3# Do NOT modify this file. Update the canonical version in Home\repo-template\src\appveyor.yml
4# then update all of the repos.
5
6branches:
7 only:
8 - master
9 - develop
10
11image: Visual Studio 2019
12
13version: 0.0.0.{build}
14configuration: Release
15
16environment:
17 DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
18 DOTNET_CLI_TELEMETRY_OPTOUT: 1
19 NUGET_XMLDOC_MODE: skip
20
21build_script:
22 - appveyor.cmd
23
24pull_requests:
25 do_not_increment_build_number: true
26
27nuget:
28 disable_publish_on_pr: true
29
30skip_branch_with_pr: true
31skip_tags: true
32
33artifacts:
34- path: build\Release\**\*.nupkg
35 name: nuget
36
37notifications:
38- provider: Slack
39 incoming_webhook:
40 secure: p5xuu+4x2JHfwGDMDe5KcG1k7gZxqYc4jWVwvyNZv5cvkubPD2waJs5yXMAXZNN7Z63/3PWHb7q4KoY/99AjauYa1nZ4c5qYqRPFRBKTHfA=
diff --git a/src/ext/PowerShell/nuget.config b/src/ext/PowerShell/nuget.config
new file mode 100644
index 00000000..f4f0704e
--- /dev/null
+++ b/src/ext/PowerShell/nuget.config
@@ -0,0 +1,14 @@
1<?xml version="1.0" encoding="utf-8"?>
2<configuration>
3 <packageSources>
4 <clear />
5 <add key="wixtoolset-data" value="https://ci.appveyor.com/nuget/wixtoolset-data" />
6 <add key="wixtoolset-extensibility" value="https://ci.appveyor.com/nuget/wixtoolset-extensibility" />
7 <add key="wixtoolset-core" value="https://ci.appveyor.com/nuget/wixtoolset-core" />
8 <add key="wixtoolset-core-native" value="https://ci.appveyor.com/nuget/wixtoolset-core-native" />
9 <add key="wixtoolset-dtf" value="https://ci.appveyor.com/nuget/wixtoolset-dtf" />
10 <add key="wixtoolset-tools" value="https://ci.appveyor.com/nuget/wixtoolset-tools" />
11 <add key="wixbuildtools" value="https://ci.appveyor.com/nuget/wixbuildtools" />
12 <add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
13 </packageSources>
14</configuration> \ No newline at end of file
diff --git a/src/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs
index b2f27ecf..b2f27ecf 100644
--- a/src/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/PowerShellExtensionFixture.cs
diff --git a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.en-us.wxl b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.en-us.wxl
index 38c12ac1..38c12ac1 100644
--- a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.en-us.wxl
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.en-us.wxl
diff --git a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.wxs b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.wxs
index 411893bc..411893bc 100644
--- a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.wxs
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/Package.wxs
diff --git a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/PackageComponents.wxs b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/PackageComponents.wxs
index 049f9a51..049f9a51 100644
--- a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/PackageComponents.wxs
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/PackageComponents.wxs
diff --git a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/example.txt b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/example.txt
index 1b4ffe8a..1b4ffe8a 100644
--- a/src/test/WixToolsetTest.PowerShell/TestData/TypesFile/example.txt
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/TestData/TypesFile/example.txt
diff --git a/src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
index 69645fb7..69645fb7 100644
--- a/src/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
+++ b/src/ext/PowerShell/test/WixToolsetTest.PowerShell/WixToolsetTest.Powershell.csproj
diff --git a/src/wix.snk b/src/ext/PowerShell/wix.snk
index 3908a66a..3908a66a 100644
--- a/src/wix.snk
+++ b/src/ext/PowerShell/wix.snk
Binary files differ
diff --git a/src/wixext/PSCompiler.cs b/src/ext/PowerShell/wixext/PSCompiler.cs
index 37591282..37591282 100644
--- a/src/wixext/PSCompiler.cs
+++ b/src/ext/PowerShell/wixext/PSCompiler.cs
diff --git a/src/wixext/PSErrors.cs b/src/ext/PowerShell/wixext/PSErrors.cs
index 704cf5cd..704cf5cd 100644
--- a/src/wixext/PSErrors.cs
+++ b/src/ext/PowerShell/wixext/PSErrors.cs
diff --git a/src/wixext/PSExtensionData.cs b/src/ext/PowerShell/wixext/PSExtensionData.cs
index 66627942..66627942 100644
--- a/src/wixext/PSExtensionData.cs
+++ b/src/ext/PowerShell/wixext/PSExtensionData.cs
diff --git a/src/wixext/PSWarnings.cs b/src/ext/PowerShell/wixext/PSWarnings.cs
index 9be14948..9be14948 100644
--- a/src/wixext/PSWarnings.cs
+++ b/src/ext/PowerShell/wixext/PSWarnings.cs
diff --git a/src/wixext/PowerShellExtensionFactory.cs b/src/ext/PowerShell/wixext/PowerShellExtensionFactory.cs
index 44f836e0..44f836e0 100644
--- a/src/wixext/PowerShellExtensionFactory.cs
+++ b/src/ext/PowerShell/wixext/PowerShellExtensionFactory.cs
diff --git a/src/wixext/WixToolset.PowerShell.wixext.csproj b/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj
index a89a574c..a89a574c 100644
--- a/src/wixext/WixToolset.PowerShell.wixext.csproj
+++ b/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.csproj
diff --git a/src/wixext/WixToolset.PowerShell.wixext.targets b/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.targets
index bf06e1e4..bf06e1e4 100644
--- a/src/wixext/WixToolset.PowerShell.wixext.targets
+++ b/src/ext/PowerShell/wixext/WixToolset.PowerShell.wixext.targets
diff --git a/src/wixlib/PSExtension.wxs b/src/ext/PowerShell/wixlib/PSExtension.wxs
index a1f16ee6..a1f16ee6 100644
--- a/src/wixlib/PSExtension.wxs
+++ b/src/ext/PowerShell/wixlib/PSExtension.wxs
diff --git a/src/wixlib/powershell.wixproj b/src/ext/PowerShell/wixlib/powershell.wixproj
index 6d6b413b..6d6b413b 100644
--- a/src/wixlib/powershell.wixproj
+++ b/src/ext/PowerShell/wixlib/powershell.wixproj
diff --git a/src/ext/global.json b/src/ext/global.json
new file mode 100644
index 00000000..23dd3fa6
--- /dev/null
+++ b/src/ext/global.json
@@ -0,0 +1,5 @@
1{
2 "msbuild-sdks": {
3 "WixToolset.Sdk": "4.0.0-build-0211"
4 }
5}
diff --git a/src/version.json b/src/version.json
new file mode 100644
index 00000000..5f857771
--- /dev/null
+++ b/src/version.json
@@ -0,0 +1,11 @@
1{
2 "version": "4.0",
3 "publicReleaseRefSpec": [
4 "^refs/heads/master$"
5 ],
6 "cloudBuild": {
7 "buildNumber": {
8 "enabled": true
9 }
10 }
11}