Skip to content

Commit 746fe76

Browse files
Tyler LeonhardtTyler Leonhardt
authored andcommitted
nugetize the worker
1 parent 70b7a47 commit 746fe76

File tree

3 files changed

+33
-7
lines changed

3 files changed

+33
-7
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<!--
2+
Copyright (c) Microsoft. All rights reserved.
3+
Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
-->
5+
<Project>
6+
<PropertyGroup>
7+
<Version>0.1.0</Version>
8+
<PackageId>Azure.Functions.PowerShell.Worker</PackageId>
9+
<Authors>Microsoft</Authors>
10+
<Owners>Microsoft</Owners>
11+
<Company>Microsoft Corporation</Company>
12+
<Description>The Azure Function PowerShell Language Worker allows users to write Azure Function Apps using PowerShell. It leverages the PowerShell Core SDK.</Description>
13+
<Title>Azure Function PowerShell Language Worker</Title>
14+
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
15+
<PackageLicenseUrl>https://github.com/Azure/azure-functions-powershell-worker/blob/dev/LICENSE</PackageLicenseUrl>
16+
<PackageProjectUrl>https://github.com/Azure/azure-functions-powershell-worker</PackageProjectUrl>
17+
<PackageIconUrl>https://github.com/PowerShell/PowerShell/blob/master/assets/Powershell_64.png</PackageIconUrl>
18+
<PackageTags>azure,functions,powershell,worker</PackageTags>
19+
<PackageReleaseNotes>
20+
# 0.1.0
21+
22+
Initial Release
23+
</PackageReleaseNotes>
24+
</PropertyGroup>
25+
</Project>

src/Azure.Functions.PowerShell.Worker.csproj

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
<!--
2+
Copyright (c) Microsoft. All rights reserved.
3+
Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
-->
15
<Project Sdk="Microsoft.NET.Sdk">
2-
6+
<Import Project="Azure.Functions.PowerShell.Worker.Package.props" />
37
<PropertyGroup>
48
<OutputType>Exe</OutputType>
5-
<TargetFramework>netcoreapp2.1</TargetFramework>
6-
<Product>Azure Function PowerShell Language Worker</Product>
7-
<Company>Microsoft Corporation</Company>
8-
<Copyright>(c) Microsoft Corporation. All rights reserved.</Copyright>
9-
9+
<TargetFramework>netcoreapp2.1</TargetFramework>
1010
<LangVersion>Latest</LangVersion>
1111
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1212
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
1313
<GenerateDocumentationFile>true</GenerateDocumentationFile>
14+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1415
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
1516
<NeutralLanguage>en-US</NeutralLanguage>
1617
</PropertyGroup>

test/Function/FunctionLoaderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public void TestFunctionLoaderGetInfo()
127127
Assert.Equal(directory, funcInfo.Directory);
128128
Assert.Equal(name, funcInfo.FunctionName);
129129
Assert.Equal(2, funcInfo.AllBindings.Count);
130-
Assert.Equal(1, funcInfo.OutBindings.Count);
130+
Assert.Equal(1, funcInfo.OutputBindings.Count);
131131
}
132132
}
133133
}

0 commit comments

Comments
 (0)