Skip to content

Commit 0cfd791

Browse files
committed
fix
1 parent bb415ad commit 0cfd791

6 files changed

Lines changed: 77 additions & 3 deletions

File tree

Directory.Packages.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,6 @@
2121

2222
<!-- Build Tools -->
2323
<PackageVersion Include="Nuke.Common" Version="9.0.4" />
24+
<PackageVersion Include="Nuke.Components" Version="9.0.4" />
2425
</ItemGroup>
2526
</Project>

README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# 🎯 Kat.Configuration
2+
3+
> Configuration libraries for .NET - made simple!
4+
5+
## 🤔 What is this?
6+
7+
A collection of useful configuration providers for .NET applications. Read your app settings from different file formats with ease!
8+
9+
## 📦 Available Packages
10+
11+
### Kat.Configuration.Yaml
12+
Read YAML configuration files in your .NET apps.
13+
14+
```bash
15+
dotnet add package Kat.Configuration.Yaml
16+
```
17+
18+
**[📖 See documentation →](src/Kat.Configuration.Yaml/README.md)**
19+
20+
## 🚀 Quick Example
21+
22+
```csharp
23+
using Microsoft.Extensions.Configuration;
24+
25+
var config = new ConfigurationBuilder()
26+
.AddYamlFile("appsettings.yaml")
27+
.Build();
28+
29+
var appName = config["App:Name"];
30+
```
31+
32+
## 🛠️ Requirements
33+
34+
- .NET 5, 6, 7, 8, 9 or .NET Standard 2.0
35+
36+
## 🤝 Contributing
37+
38+
Contributions are welcome! Feel free to:
39+
- Report bugs
40+
- Suggest features
41+
- Submit pull requests
42+
43+
## 📄 License
44+
45+
Apache License 2.0
46+
47+
---
48+
49+
Made with ❤️ for the .NET community

build/Build.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Linq;
14
using Nuke.Common;
25
using Nuke.Common.CI;
36
using Nuke.Common.IO;

build/Directory.Build.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
4+
<!-- This file prevents unintended imports of unrelated MSBuild files -->
5+
<!-- Uncomment to include parent Directory.Build.props file -->
6+
<!--<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />-->
7+
8+
</Project>

build/Directory.Build.targets

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
4+
<!-- This file prevents unintended imports of unrelated MSBuild files -->
5+
<!-- Uncomment to include parent Directory.Build.targets file -->
6+
<!--<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.targets', '$(MSBuildThisFileDirectory)../'))" />-->
7+
8+
</Project>

build/_build.csproj

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,13 @@
1010
<NukeTelemetryVersion>1</NukeTelemetryVersion>
1111
</PropertyGroup>
1212

13-
<ItemGroup>
14-
<PackageReference Include="Nuke.Common" />
15-
</ItemGroup>
13+
<ItemGroup>
14+
<PackageReference Include="Nuke.Common" />
15+
<PackageReference Include="Nuke.Components" />
16+
</ItemGroup>
17+
18+
<ItemGroup>
19+
<PackageDownload Include="GitVersion.Tool" Version="[5.12.0]" />
20+
</ItemGroup>
1621

1722
</Project>

0 commit comments

Comments
 (0)