Skip to content

Commit

Permalink
📦
Browse files Browse the repository at this point in the history
  • Loading branch information
hlaueriksson committed Jun 2, 2020
1 parent 7b88424 commit fb17a79
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 15 deletions.
19 changes: 19 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<Project>

<PropertyGroup>
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
</PropertyGroup>

<PropertyGroup Condition="'$(TF_BUILD)' == 'true'">
<Deterministic>true</Deterministic>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All"/>
</ItemGroup>

</Project>
2 changes: 1 addition & 1 deletion pack.bat
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dotnet pack -c Release
dotnet build -c Release /p:TF_BUILD=true
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
Expand Down
13 changes: 4 additions & 9 deletions src/GEmojiSharp.TagHelpers/GEmojiSharp.TagHelpers.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,24 +21,19 @@
<PackageIcon>icon.png</PackageIcon>
<PackageTags>emoji;gemoji;aspnetcore;aspnetcoremvc;taghelper;taghelpers</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/hlaueriksson/GEmojiSharp.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.2.0" />
<None Include="..\..\icon.png" Link="icon.png" Pack="true" PackagePath="\"/>
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\GEmojiSharp\GEmojiSharp.csproj" />
<PackageReference Include="Microsoft.AspNetCore.Razor" Version="2.2.0" />
</ItemGroup>

<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\icon.png" Link="icon.png" Pack="true" PackagePath="\"/>
<ProjectReference Include="..\GEmojiSharp\GEmojiSharp.csproj" />
</ItemGroup>

</Project>
5 changes: 0 additions & 5 deletions src/GEmojiSharp/GEmojiSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
<PackageIcon>icon.png</PackageIcon>
<PackageTags>emoji;gemoji</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<RepositoryUrl>https://github.com/hlaueriksson/GEmojiSharp.git</RepositoryUrl>
<RepositoryType>git</RepositoryType>
</PropertyGroup>

<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

Expand Down

0 comments on commit fb17a79

Please sign in to comment.