Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preparations for the 1.0 release #1598

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 3 additions & 20 deletions README.fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,30 +44,13 @@ https://spectreconsole.net/

<h2 id="examples">مثال‌ها</h2>

برای بررسی `Spectre.Console` در عمل، ابزار سراسری
[dotnet-example](https://github.com/patriksvensson/dotnet-example)
را نصب کنید.

<pre dir="ltr">
> dotnet tool restore
</pre>

حالا شما می‌توانید مثال‌های موجود در این مخزن را لیست کنید:

<pre dir="ltr">
> dotnet example
</pre>

و برای اجرای مثال:

<pre dir="ltr">
> dotnet example tables
</pre>
To see `Spectre.Console` in action, please see the
[examples repository](https://github.com/spectreconsole/examples).

<h2 id="license">مجوز</h2>

<div dir="ltr">
Copyright © Patrik Svensson, Phil Scott
Copyright © Patrik Svensson, Phil Scott, Nils Andresen, Cédric Luthi, Frank Ray
</div>

همانطور که Spectre.Console تحت مجوز MIT ارائه شده است؛ برای کسب اطلاعات بیشتر به مجوز مراجعه کنید.
Expand Down
23 changes: 3 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,25 +49,8 @@ https://spectreconsole.net

## Examples

To see `Spectre.Console` in action, install the
[dotnet-example](https://github.com/patriksvensson/dotnet-example)
global tool.

```
> dotnet tool restore
```

Now you can list available examples in this repository:

```
> dotnet example
```

And to run an example:

```
> dotnet example tables
```
To see `Spectre.Console` in action, please see the
[examples repository](https://github.com/spectreconsole/examples).

## Sponsors

Expand Down Expand Up @@ -100,7 +83,7 @@ This project is supported by the [.NET Foundation](https://dotnetfoundation.org)

## License

Copyright © Patrik Svensson, Phil Scott, Nils Andresen
Copyright © Patrik Svensson, Phil Scott, Nils Andresen, Cédric Luthi, Frank Ray

`Spectre.Console` is provided as-is under the MIT license. For more information see LICENSE.

Expand Down
22 changes: 3 additions & 19 deletions README.pt-BR.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,8 @@ https://spectreconsole.net/

## Exemplos

Para ver o `Spectre.Console` em ação, instale a ferramenta global
[dotnet-example](https://github.com/patriksvensson/dotnet-example).

```
> dotnet tool restore
```

Agora você pode listar os exemplos disponíveis neste repositório:

```
> dotnet example
```

E para executar um exemplo:

```
> dotnet example tables
```
To see `Spectre.Console` in action, please see the
[examples repository](https://github.com/spectreconsole/examples).

## Patrocinadores

Expand All @@ -83,7 +67,7 @@ Eu estou muito agradecido.

## Licença

Copyright © Patrik Svensson, Phil Scott, Nils Andresen
Copyright © Patrik Svensson, Phil Scott, Nils Andresen, Cédric Luthi, Frank Ray

Spectre.Console é fornecido no estado em que se encontra sob a licença do MIT. Para obter mais informações, consulte o arquivo [LICENSE](LICENSE.md).

Expand Down
21 changes: 3 additions & 18 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,23 +39,8 @@ https://spectreconsole.net/

## 例子

如果想直接运行`Spectre.Console`的例子,则需要安装[dotnet-example](https://github.com/patriksvensson/dotnet-example)工具。

```
> dotnet tool restore
```

然后你可以列出仓库里的所有例子:

```
> dotnet example
```

跑一个看看效果:

```
> dotnet example tables
```
To see `Spectre.Console` in action, please see the
[examples repository](https://github.com/spectreconsole/examples).

## Sponsors

Expand All @@ -77,7 +62,7 @@ https://spectreconsole.net/

## 开源许可

版权所有 © Patrik Svensson, Phil Scott, Nils Andresen
版权所有 © Patrik Svensson, Phil Scott, Nils Andresen, Cédric Luthi, Frank Ray

Spectre.Console 基于 MIT 协议提供。查看 LICENSE 文件了解更多信息。

Expand Down
53 changes: 2 additions & 51 deletions build.cake
Original file line number Diff line number Diff line change
Expand Up @@ -35,57 +35,19 @@ Task("Build")
});
});

Task("Build-Analyzer")
.IsDependentOn("Build")
.Does(context =>
{
DotNetBuild("./src/Spectre.Console.Analyzer.sln", new DotNetBuildSettings {
Configuration = configuration,
Verbosity = DotNetVerbosity.Minimal,
NoLogo = true,
NoIncremental = context.HasArgument("rebuild"),
MSBuildSettings = new DotNetMSBuildSettings()
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
});
});

Task("Build-Examples")
.IsDependentOn("Build")
.Does(context =>
{
DotNetBuild("./examples/Examples.sln", new DotNetBuildSettings {
Configuration = configuration,
Verbosity = DotNetVerbosity.Minimal,
NoLogo = true,
NoIncremental = context.HasArgument("rebuild"),
MSBuildSettings = new DotNetMSBuildSettings()
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
});
});

Task("Test")
.IsDependentOn("Build")
.IsDependentOn("Build-Analyzer")
.IsDependentOn("Build-Examples")
.Does(context =>
{
DotNetTest("./test/Spectre.Console.Tests/Spectre.Console.Tests.csproj", new DotNetTestSettings {
Configuration = configuration,
Verbosity = DotNetVerbosity.Minimal,
NoLogo = true,
NoRestore = true,
NoBuild = true,
});

DotNetTest("./test/Spectre.Console.Cli.Tests/Spectre.Console.Cli.Tests.csproj", new DotNetTestSettings {
DotNetTest("./src/Tests/Spectre.Console.Tests/Spectre.Console.Tests.csproj", new DotNetTestSettings {
Configuration = configuration,
Verbosity = DotNetVerbosity.Minimal,
NoLogo = true,
NoRestore = true,
NoBuild = true,
});

DotNetTest("./test/Spectre.Console.Analyzer.Tests/Spectre.Console.Analyzer.Tests.csproj", new DotNetTestSettings {
DotNetTest("./src/Tests/Spectre.Console.Cli.Tests/Spectre.Console.Cli.Tests.csproj", new DotNetTestSettings {
Configuration = configuration,
Verbosity = DotNetVerbosity.Minimal,
NoLogo = true,
Expand All @@ -108,17 +70,6 @@ Task("Package")
MSBuildSettings = new DotNetMSBuildSettings()
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
});

context.DotNetPack($"./src/Spectre.Console.Analyzer.sln", new DotNetPackSettings {
Configuration = configuration,
Verbosity = DotNetVerbosity.Minimal,
NoLogo = true,
NoRestore = true,
NoBuild = true,
OutputDirectory = "./.artifacts",
MSBuildSettings = new DotNetMSBuildSettings()
.TreatAllWarningsAs(MSBuildTreatAllWarningsAs.Error)
});
});

Task("Publish-NuGet")
Expand Down
15 changes: 0 additions & 15 deletions examples/Cli/Delegates/BarSettings.cs

This file was deleted.

17 changes: 0 additions & 17 deletions examples/Cli/Delegates/Delegates.csproj

This file was deleted.

61 changes: 0 additions & 61 deletions examples/Cli/Delegates/Program.cs

This file was deleted.

46 changes: 0 additions & 46 deletions examples/Cli/Demo/Commands/Add/AddPackageCommand.cs

This file was deleted.

29 changes: 0 additions & 29 deletions examples/Cli/Demo/Commands/Add/AddReferenceCommand.cs

This file was deleted.

Loading