-
Notifications
You must be signed in to change notification settings - Fork 0
/
Generator.props
42 lines (35 loc) · 1.26 KB
/
Generator.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<Project>
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<Nullable>enable</Nullable>
<LangVersion>latest</LangVersion>
<RootNamespaceId>TeCLI</RootNamespaceId>
</PropertyGroup>
<ItemGroup>
<InternalsVisibleTo Include="TeCLI" />
<InternalsVisibleTo Include="TeCLI.Core" />
<InternalsVisibleTo Include="TeCLI.Extensions.DependencyInjection" />
</ItemGroup>
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<Authors>Tyler Coles</Authors>
<Description>C# CLI source generator tool</Description>
<PackageTags>roslyn;source-generator</PackageTags>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<RepositoryUrl>https://github.com/tyevco/TeCLI</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<Target Name="MoveNugetPackage" AfterTargets="Pack" Condition="'$(Configuration)' == 'Release'">
<ItemGroup>
<NugetFiles Include="bin\**\$(MSBuildProjectName).*.nupkg"/>
</ItemGroup>
<Copy
SourceFiles="@(NugetFiles)"
DestinationFolder="..\.packages\"
ContinueOnError="true"
/>
<Message Text="Copied nupkg to repo directory." Importance="high" />
</Target>
<ItemGroup>
<None Include="../LICENSE" Pack="true" PackagePath=""/>
</ItemGroup>
</Project>