Merge pull request #16 from Stone-Red-Code/develop

Develop
This commit is contained in:
Stone_Red
2026-03-06 17:18:36 +01:00
committed by GitHub
3 changed files with 27 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@ name: Deploy Chocolatey Package
on:
push:
branches: [ "main" ]
paths: [ "src/**" ]
jobs:
deploy:
+2
View File
@@ -6,8 +6,10 @@ name: .NET
on:
push:
branches: [ "main" ]
paths: [ "src/**" ]
pull_request:
branches: [ "main" ]
paths: [ "src/**" ]
jobs:
build:
+24 -1
View File
@@ -21,7 +21,30 @@ to embed the YesNt interpreter and run scripts programmatically.
## Adding the reference
Add a project reference to `YesNt.Interpreter` in your `.csproj`:
### Via NuGet (recommended)
Install the [`YesNt.Interpreter`](https://www.nuget.org/packages/YesNt.Interpreter/) package using one of the following methods.
**.NET CLI:**
```
dotnet add package YesNt.Interpreter
```
**Package Manager Console:**
```
Install-Package YesNt.Interpreter
```
**`.csproj`:**
```xml
<ItemGroup>
<PackageReference Include="YesNt.Interpreter" Version="*" />
</ItemGroup>
```
### Via project reference
If you have cloned the repository and want to reference the source directly, add a project reference in your `.csproj`:
```xml
<ItemGroup>