wip
This commit is contained in:
parent
08414a7b99
commit
69496beead
|
@ -55,7 +55,9 @@ test_all:: dotnet_test auto_test
|
|||
|
||||
dist::
|
||||
go install -ldflags "-X github.com/pulumi/pulumi/sdk/v3/go/common/version.Version=${DOTNET_VERSION}" ${LANGHOST_PKG}
|
||||
cp ./dist/pulumi-resource-pulumi-dotnet "$$(go env GOPATH)"/bin/
|
||||
|
||||
dotnet publish dist/Pulumi.Dynamic.csproj /p:Version=${DOTNET_VERSION} -r linux-x64
|
||||
cp ./dist/bin/Debug/netcoreapp3.1/linux-x64/publish/Pulumi.Dynamic "$$(go env GOPATH)"/bin/pulumi-resource-pulumi-dotnet
|
||||
|
||||
brew:: BREW_VERSION := $(shell ../../scripts/get-version HEAD)
|
||||
brew::
|
||||
|
|
7
sdk/dotnet/Pulumi.Dynamic/Program.cs
Normal file
7
sdk/dotnet/Pulumi.Dynamic/Program.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
public static class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
System.Console.WriteLine("Hello world");
|
||||
}
|
||||
}
|
43
sdk/dotnet/Pulumi.Dynamic/Pulumi.Dynamic.csproj
Normal file
43
sdk/dotnet/Pulumi.Dynamic/Pulumi.Dynamic.csproj
Normal file
|
@ -0,0 +1,43 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<Authors>Pulumi</Authors>
|
||||
<Company>Pulumi Corp.</Company>
|
||||
<Description>The Pulumi .NET dynamic provider runs dynamic resources providers from C#, F#, and VB.NET.</Description>
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup>
|
||||
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
|
||||
<EmbedUntrackedSources>true</EmbedUntrackedSources>
|
||||
<PublishRepositoryUrl>true</PublishRepositoryUrl>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
|
||||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Grpc" Version="2.37.0" />
|
||||
<PackageReference Include="Grpc.Tools" Version="2.37.0">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.16" />
|
||||
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" />
|
||||
<PackageReference Include="OneOf" Version="2.1.151" />
|
||||
<PackageReference Include="Pulumi.Protobuf" Version="3.13.0" />
|
||||
<PackageReference Include="semver" Version="2.0.6" />
|
||||
<PackageReference Include="Serilog.Extensions.Logging" Version="3.0.1" />
|
||||
<PackageReference Include="Serilog.Sinks.Console" Version="3.1.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Protobuf Include="..\..\proto\*.proto" Access="internal" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo $(pwd)
|
Loading…
Reference in a new issue