1
0
mirror of https://github.com/chylex/Brotli-Builder.git synced 2025-05-13 08:34:05 +02:00

Include .NET project publish profiles for BrotliBuilder & BrotliCalc

This commit is contained in:
chylex 2019-11-02 14:51:59 +01:00
parent c5f3282590
commit f1f4079ffc
4 changed files with 35 additions and 3 deletions
.gitignore
BrotliBuilder/Properties/PublishProfiles
BrotliCalc
BrotliCalc.csproj
Properties/PublishProfiles

2
.gitignore vendored
View File

@ -173,7 +173,7 @@ publish/
*.azurePubxml
# Note: Comment the next line if you want to checkin your web deploy settings,
# but database connection strings (with potential passwords) will be unencrypted
*.pubxml
#*.pubxml
*.publishproj
# Microsoft Azure Web App publish settings. Comment the next line if you want to

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp3.0</TargetFramework>
<PublishDir>bin\Publish\</PublishDir>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
@ -26,8 +26,12 @@
<ProjectReference Include="..\BrotliLib\BrotliLib.csproj" />
</ItemGroup>
<Target Name="CopyResources" AfterTargets="Build">
<Target Name="CopyResourcesBuild" AfterTargets="Build">
<Copy SourceFiles="Resources\brotli.exe;Resources\LICENSE-BROTLI.txt" DestinationFolder="$(OutDir)" SkipUnchangedFiles="true" />
</Target>
<Target Name="CopyResourcesPublish" AfterTargets="Publish">
<Copy SourceFiles="Resources\brotli.exe;Resources\LICENSE-BROTLI.txt" DestinationFolder="$(PublishDir)" SkipUnchangedFiles="true" />
</Target>
</Project>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<PublishProtocol>FileSystem</PublishProtocol>
<Configuration>Release</Configuration>
<Platform>Any CPU</Platform>
<TargetFramework>netcoreapp3.0</TargetFramework>
<PublishDir>bin\Publish\</PublishDir>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>