forked from Erisa/Cliptok
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cliptok.csproj
35 lines (30 loc) · 1.39 KB
/
Cliptok.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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<RestoreAdditionalProjectSources>
https://nuget.emzi0767.com/api/v3/index.json
</RestoreAdditionalProjectSources>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Abyssal.HumanDateParser" Version="2.0.0-20191113.1" />
<PackageReference Include="DSharpPlus" Version="4.0.0-rc2" />
<PackageReference Include="DSharpPlus.CommandsNext" Version="4.0.0-rc2" />
<PackageReference Include="StackExchange.Redis" Version="2.2.4" />
<PackageReference Include="System.Linq" Version="4.3.0" />
</ItemGroup>
<ItemGroup>
<None Update="config.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="config.dev.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<Content Include="Lists/**">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</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"
" />
</Target>
</Project>