Add Connected.Framework parent package

Add project auto-build script to repository
features/nuget_autobuild
Matija Koželj 2 years ago
parent 7903031fcc
commit 399cee2eac

@ -0,0 +1,20 @@
dotnet build ../src/Connected.Runtime/Connected.Runtime.csproj
dotnet build ../src/Connected.Configuration/Connected.Configuration.csproj
dotnet build ../src/Connected.Threading/Connected.Threading.csproj
dotnet build ../src/Connected.Interop/Connected.Interop.csproj
dotnet build ../src/Connected.Hosting/Connected.Hosting.csproj
dotnet build ../src/Connected.Globalization/Connected.Globalization.csproj
dotnet build ../src/Connected.Collections/Connected.Collections.csproj
dotnet build ../src/Connected.Middleware/Connected.Middleware.csproj
dotnet build ../src/Connected.Security/Connected.Security.csproj
dotnet build ../src/Connected.Validation/Connected.Validation.csproj
dotnet build ../src/Connected.Net/Connected.Net.csproj
dotnet build ../src/Connected.Notifications/Connected.Notifications.csproj
dotnet build ../src/Connected.Caching/Connected.Caching.csproj
dotnet build ../src/Connected.Entities/Connected.Entities.csproj
dotnet build ../src/Connected.Expressions/Connected.Expressions.csproj
dotnet build ../src/Connected.Data/Connected.Data.csproj
dotnet build ../src/Connected.Services/Connected.Services.csproj
dotnet build ../src/Connected.Rest/Connected.Rest.csproj
dotnet build ../src/Connected.Instance/Connected.Instance.csproj
dotnet build ../src/Connected.Framework/Connected.Framework.csproj

@ -0,0 +1,60 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>$(MSBuildProjectName.Replace(" ", "_"))</RootNamespace>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Title>$(AssemblyName)</Title>
<Authors>Tom PIT ltd</Authors>
<Copyright>Tom PIT ltd</Copyright>
<PackageProjectUrl>https://git.tompit.com/Connected/Info</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageTags>connected;platform;</PackageTags>
<PackageReleaseNotes></PackageReleaseNotes>
<IncludeSymbols>True</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageOutputPath>$(OutputPath)</PackageOutputPath>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Connected.Caching" Version="1.0.*-*" />
<PackageReference Include="Connected.Collections" Version="1.0.*-*" />
<PackageReference Include="Connected.Configuration" Version="1.0.*-*" />
<PackageReference Include="Connected.Data" Version="1.0.*-*" />
<PackageReference Include="Connected.Entities" Version="1.0.*-*" />
<PackageReference Include="Connected.Expressions" Version="1.0.*-*" />
<PackageReference Include="Connected.Globalization" Version="1.0.*-*" />
<PackageReference Include="Connected.Hosting" Version="1.0.*-*" />
<PackageReference Include="Connected.Instance" Version="1.0.*-*" />
<PackageReference Include="Connected.Interop" Version="1.0.*-*" />
<PackageReference Include="Connected.Middleware" Version="1.0.*-*" />
<PackageReference Include="Connected.Net" Version="1.0.*-*" />
<PackageReference Include="Connected.Notifications" Version="1.0.*-*" />
<PackageReference Include="Connected.Rest" Version="1.0.*-*" />
<PackageReference Include="Connected.Runtime" Version="1.0.*-*" />
<PackageReference Include="Connected.Security" Version="1.0.*-*" />
<PackageReference Include="Connected.Services" Version="1.0.*-*" />
<PackageReference Include="Connected.Threading" Version="1.0.*-*" />
<PackageReference Include="Connected.Validation" Version="1.0.*-*" />
<PackageReference Include="Nerdbank.GitVersioning" Version="3.5.119" PrivateAssets="all" Condition="!Exists('packages.config')" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<Target Name="CopyPackages" AfterTargets="Pack">
<Copy SourceFiles="$(OutputPath)..\$(PackageId).$(PackageVersion).nupkg" DestinationFolder="$([System.Environment]::GetEnvironmentVariable('LOCAL_NUGET'))" />
<Copy SourceFiles="$(OutputPath)..\$(PackageId).$(PackageVersion).snupkg" DestinationFolder="$([System.Environment]::GetEnvironmentVariable('LOCAL_NUGET'))" />
</Target>
</Project>

@ -0,0 +1,14 @@
{
"$schema": "https://raw.githubusercontent.com/dotnet/Nerdbank.GitVersioning/main/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.0-prerelease",
"semVer1NumericIdentifierPadding": 4,
"nugetPackageVersion": {
"semVer": 2, // optional. Set to either 1 or 2 to control how the NuGet package version string is generated. Default is 1.
"precision": "build" // optional. Use when you want to use a more or less precise package version than the default major.minor.build.
},
"cloudBuild": {
"buildNumber": {
"enabled": true
}
}
}
Loading…
Cancel
Save