diff options
author | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 14:01:38 -0500 |
---|---|---|
committer | Matt Strapp <matt@mattstrapp.net> | 2024-08-06 14:01:38 -0500 |
commit | be1f06a4aa6d4a2ac253b33b405fe96862d3c906 (patch) | |
tree | 1a1933934e25df618352d432bac2762937dcfb2d /src | |
parent | Format all documentation (diff) | |
download | locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.tar locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.tar.gz locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.tar.bz2 locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.tar.lz locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.tar.xz locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.tar.zst locusts-be1f06a4aa6d4a2ac253b33b405fe96862d3c906.zip |
Add .NET
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/Locusts.cs | 18 | ||||
-rw-r--r-- | src/Locusts.csproj | 37 |
2 files changed, 55 insertions, 0 deletions
diff --git a/src/Locusts.cs b/src/Locusts.cs new file mode 100644 index 0000000..1082c60 --- /dev/null +++ b/src/Locusts.cs @@ -0,0 +1,18 @@ +namespace Locusts;
+
+/// <summary>
+/// The locusts class.
+/// </summary>
+public static class Locusts
+{
+ /// <summary>
+ /// Introduce locusts into your codebase.
+ /// </summary>
+ /// <remarks>
+ /// This method will introduce locusts into your codebase.
+ /// </remarks>
+ public static void IntroduceLocusts()
+ {
+ // Method intentionally left empty.
+ }
+}
diff --git a/src/Locusts.csproj b/src/Locusts.csproj new file mode 100644 index 0000000..c3b329e --- /dev/null +++ b/src/Locusts.csproj @@ -0,0 +1,37 @@ +<Project Sdk="Microsoft.NET.Sdk"> + + <PropertyGroup Condition="'$(CI)' == 'true'"> + <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> + </PropertyGroup> + + <PropertyGroup> + <TargetFrameworks>net8.0;netstandard2.0</TargetFrameworks> + <LangVersion>latest</LangVersion> + <IsPackable>true</IsPackable> + <IsTrimmable + Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable> + <IsAotCompatible + Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net7.0'))">true</IsAotCompatible> + <ImplicitUsings>enable</ImplicitUsings> + <Nullable>enable</Nullable> + + <GeneratePackageOnBuild>true</GeneratePackageOnBuild> + <PackageLicenseExpression>0BSD</PackageLicenseExpression> + <PackageReadmeFile>docs/.NET.md</PackageReadmeFile> + <RepositoryURL>https://github.com/locusts-r-us/locusts</RepositoryURL> + <RepositoryType>git</RepositoryType> + <GenerateDocumentationFile>True</GenerateDocumentationFile> + <IncludeSymbols>True</IncludeSymbols> + <SymbolPackageFormat>snupkg</SymbolPackageFormat> + <EmbedUntrackedSources>true</EmbedUntrackedSources> + </PropertyGroup> + + <ItemGroup> + <None Include="../docs/.NET.md" Pack="true" PackagePath="docs" /> + <PackageReference Include="Microsoft.SourceLink.GitHub" Version="*-*" PrivateAssets="all" /> + <PackageReference Include="MinVer" Version="*-*"> + <PrivateAssets>all</PrivateAssets> + <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> + </PackageReference> + </ItemGroup> +</Project>
\ No newline at end of file |