-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCTLocaleScraper.csproj
64 lines (57 loc) · 2.15 KB
/
CTLocaleScraper.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<Project Sdk="Microsoft.NET.Sdk">
<!-- Generate build number and date: -->
<PropertyGroup>
<MajorVersion>0.1</MajorVersion>
<Date>$([System.DateTime]::UtcNow.Date.Ticks)</Date>
<CreationDateObj>$([System.DateTime]::new(2024, 7, 26))</CreationDateObj>
<CreationDate>$([System.DateTime]::new(2024, 7, 26).Ticks)</CreationDate>
<BuildNumber>$([System.Convert]::ToInt32($([System.DateTime]::UtcNow.Subtract($(CreationDateObj)).TotalDays)))</BuildNumber>
<BuildNumberSourceFile>
<![CDATA[
// Generated.
// See the .csproj for the generation script.
namespace $(RootNamespace)
{
public static class BuildNumber
{
/// <summary>
/// The number of ticks that have passed since the file was built.
/// </summary>
public const long COMPILE_TIME = $(Date)%3B
/// <summary>
/// The build number.
/// </summary>
/// <remarks>
/// This, like all Network Neighborhood software, is equivalent to the
/// number of days that have passed since the application started
/// development.
/// </remarks>
public const int BUILD_NUMBER = $(BuildNumber)%3B
}
}
]]>
</BuildNumberSourceFile>
</PropertyGroup>
<Target Name="BuildNumber" BeforeTargets="BeforeBuild">
<WriteLinesToFile File="BuildNumber.gen.cs" Lines="$(BuildNumberSourceFile)" Overwrite="true" />
</Target>
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<RootNamespace>Rehike.CTLocaleScraper</RootNamespace>
<Authors>The Rehike Maintainers</Authors>
<Company>The Rehike Maintainers</Company>
<Product>CoffeeTranslation CLDR locale information scraper</Product>
<Description>CoffeeTranslation CLDR locale information scraper</Description>
<Copyright>The Rehike Maintainers</Copyright>
<PackageProjectUrl>https://github.com/Rehike/CTLocaleScraper</PackageProjectUrl>
<AssemblyVersion>$(MajorVersion).$(BuildNumber)</AssemblyVersion>
<FileVersion>$(MajorVersion).$(BuildNumber)</FileVersion>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Mono.Options" Version="6.12.0.148" />
</ItemGroup>
</Project>