Skip to content

Commit

Permalink
Scripting: Add package metadata and README
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeldesu committed Oct 13, 2023
1 parent 7bfe108 commit f90f25f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
11 changes: 11 additions & 0 deletions PangLib.Scripting/PangLib.Scripting.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PackageId>PangLib.Scripting</PackageId>
<Version>1.0.0</Version>
<Authors>pixeldesu</Authors>
<Description>PangLib.Scripting is a library to handle and parse Pangya scripting languages</Description>
<PackageTags>pangya;parsing;scripting</PackageTags>
<PackageLicenseExpression>AGPL-3.0-or-later</PackageLicenseExpression>

<RepositoryUrl>https://github.com/retreev/PangLib</RepositoryUrl>
<PackageProjectUrl>https://github.com/retreev/PangLib</PackageProjectUrl>
<PackageIconUrl>https://raw.githubusercontent.com/retreev/PangLib/master/.github/Images/pang.png</PackageIconUrl>

<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

Expand Down
27 changes: 27 additions & 0 deletions PangLib.Scripting/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# PangLib.Scripting

| [![Nuget](https://img.shields.io/nuget/v/PangLib.Scripting.svg)](https://www.nuget.org/packages/PangLib.Scripting/) | [![Nuget](https://img.shields.io/nuget/dt/PangLib.Scripting.svg)](https://www.nuget.org/packages/PangLib.Scripting/) | [Issues](https://github.com/retreev/PangLib/labels/PangLib.Scripting) |
| ------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |

Library to handle and parse Pangya scripting languages.

## Supported scripting languages

* Script sections inside `.*pet` files

## Installation

You can download this package on NuGet using the .NET CLI

```
dotnet add package PangLib.Scripting
```

## Usage

```cs
using PangLib.Scripting.PET;

PETScript PET = new PETScript('*fx("@example" "DustBig.spr" "Bip01 R Toe0")');
// You can now access parsed commands in PET.Commands
```

0 comments on commit f90f25f

Please sign in to comment.