-
Notifications
You must be signed in to change notification settings - Fork 3
/
MechanicalMilkshake.csproj
36 lines (31 loc) · 1.95 KB
/
MechanicalMilkshake.csproj
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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<InvariantGlobalization>false</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Abyssal.HumanDateParser" Version="2.0.0-20191113.1"/>
<PackageReference Include="DSharpPlus" Version="5.0.0-nightly-02383" />
<PackageReference Include="DSharpPlus.Commands" Version="5.0.0-nightly-02383" />
<PackageReference Include="DSharpPlus.Interactivity" Version="5.0.0-nightly-02383" />
<PackageReference Include="Humanizer.Core" Version="3.0.0-beta.54" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.12.0-2.final" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.12.0-2.final" />
<PackageReference Include="MimeTypeMapOfficial" Version="1.0.17"/>
<PackageReference Include="Minio" Version="4.0.5"/>
<PackageReference Include="StackExchange.Redis" Version="2.8.16" />
<PackageReference Include="System.Linq.Async" Version="6.0.1" />
</ItemGroup>
<ItemGroup>
<None Update="config.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="config.dev.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition=" '$(OS)' != 'Windows_NT' ">
<Exec Command="git rev-parse --short main > "$(OutDir)/CommitHash.txt"
git log --pretty=format:"%25s" -n 1 > "$(OutDir)/CommitMessage.txt"
git log --pretty=format:"%25ci" -n 1 > "$(OutDir)/CommitTime.txt"
git config --get remote.origin.url > "$(OutDir)/RemoteUrl.txt"
" IgnoreExitCode="true"/>
</Target>
</Project>