Skip to content

Commit b7cadda

Browse files
committed
Published to NuGet
1 parent d9c95ce commit b7cadda

File tree

3 files changed

+39
-1
lines changed

3 files changed

+39
-1
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@ Example:
5252
ykmc charset ./Example/ ./ExampleCharset.txt --lib ./Example/lib
5353
```
5454

55+
## 安装
56+
57+
### 在.NET中通过NuGet安装YukimiScript命令行工具
58+
59+
```shell
60+
dotnet tool install -g YukimiScript.CommandLineTool
61+
```
62+
63+
### 手动安装不依赖.NET运行时的YukimiScript命令行工具
64+
65+
[Release页面](https://github.com/Strrationalism/YukimiScript/releases)下载对应平台的可执行文件并将其拷贝到可被命令行环境访问的目录中。
66+
67+
### 在.NET项目中引用YukimiScript Parser
68+
69+
```shell
70+
dotnet add reference YukimiScript.Parser
71+
```
72+
5573

5674
## 概览
5775

YukimiScript.CommandLineTool/YukimiScript.CommandLineTool.fsproj

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,22 @@
66
<WarnOn>3390;$(WarnOn)</WarnOn>
77
<PackAsTool>true</PackAsTool>
88
<ToolCommandName>ykmc</ToolCommandName>
9+
<Version>0.8.0</Version>
10+
<Authors>Seng Jik</Authors>
11+
<Company>Strrationalism</Company>
12+
<Product>YukimiScript</Product>
13+
<Description>YukimiScript command line tool.</Description>
14+
<PackageProjectUrl>https://github.com/Strrationalism/YukimiScript</PackageProjectUrl>
15+
<RepositoryUrl>https://github.com/Strrationalism/YukimiScript</RepositoryUrl>
16+
<RepositoryType>git</RepositoryType>
17+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
18+
<Title>YukimiScript.CommandLineTool</Title>
919
</PropertyGroup>
1020

1121
<ItemGroup>
1222
<Compile Include="Compile.fs" />
1323
<Compile Include="Program.fs" />
24+
<Content Include="../LICENSE" />
1425
</ItemGroup>
1526

1627
<ItemGroup>

YukimiScript.Parser/YukimiScript.Parser.fsproj

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<TargetFramework>netstandard2.0</TargetFramework>
44
<WarnOn>3390;$(WarnOn)</WarnOn>
5+
<Version>0.8.0</Version>
6+
<Authors>Seng Jik</Authors>
7+
<Company>Strrationalism</Company>
8+
<Description>YukimiScript parser.</Description>
9+
<PackageProjectUrl>https://github.com/Strrationalism/YukimiScript</PackageProjectUrl>
10+
<RepositoryUrl>https://github.com/Strrationalism/YukimiScript</RepositoryUrl>
11+
<RepositoryType>git</RepositoryType>
12+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
13+
<Title>YukimiScript.Parser</Title>
514
</PropertyGroup>
615
<ItemGroup>
716
<Compile Include="Elements.fs" />

0 commit comments

Comments
 (0)