Skip to content

Commit

Permalink
cleaned up template names (#405)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaronontheweb authored Jan 23, 2025
1 parent f3b6328 commit 188c7f1
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ The following templates are available as part of the `Akka.Templates` package:
| Template | Short Name | Description |
|--------------|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Akka.Cluster.WebApi](https://github.com/akkadotnet/akkadotnet-templates/blob/dev/docs/WebApiTemplate.md) | akka.cluster.webapi | A template for building ASP.NET HTTP APIs on top of an Akka.NET Cluster. Uses Akka.Cluster.Sharding and, optionally: Akka.Management + Akka.Persistence.Azure + Akka.Azure.Discovery. This template is meant as a starter for building distributed systems with Akka.NET |
| [Akka.Console](https://github.com/akkadotnet/akkadotnet-templates/blob/dev/docs/ConsoleTemplate.md) | akkaconsole | This is a simple template designed to incorporate local [Akka.NET](https://getakka.net/) into a console application. |
| [Akka.Streams](https://github.com/akkadotnet/akkadotnet-templates/blob/dev/docs/AkkaStreamsTemplate.md) | akkastreams | This is a simple template designed to incorporate [Akka.NET](https://getakka.net/)'s [Akka.Streams APIs](https://getakka.net/articles/streams/introduction.html) into a local console template. |
| [Akka.Console](https://github.com/akkadotnet/akkadotnet-templates/blob/dev/docs/ConsoleTemplate.md) | akka.console | This is a simple template designed to incorporate local [Akka.NET](https://getakka.net/) into a console application. |
| [Akka.Streams](https://github.com/akkadotnet/akkadotnet-templates/blob/dev/docs/AkkaStreamsTemplate.md) | akka.streams | This is a simple template designed to incorporate [Akka.NET](https://getakka.net/)'s [Akka.Streams APIs](https://getakka.net/articles/streams/introduction.html) into a local console template. |

See [the official `dotnet new` documentation](https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-new) for more information on the sorts of options that are available when using project templates.

Expand Down
2 changes: 1 addition & 1 deletion docs/AkkaStreamsTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dotnet new -i "Akka.Templates::*"
From there, you can use this template via the following command:

```
dotnet new akkastreams -n "your project name"
dotnet new akka.streams -n "your project name"
```

## How It Works
Expand Down
2 changes: 1 addition & 1 deletion docs/ConsoleTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dotnet new -i "Akka.Templates::*"
From there, you can use this template via the following command:

```
dotnet new akkaconsole -n "your project name"
dotnet new akka.console -n "your project name"
```

## How It Works
Expand Down
2 changes: 1 addition & 1 deletion docs/WebApiTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dotnet new -i "Akka.Templates::*"
From there, you can use this template via the following command:

```
dotnet new akkaclusterwebapi -n "your project name"
dotnet new akka.cluster.webapi -n "your project name"
```

## Usage
Expand Down
8 changes: 4 additions & 4 deletions scripts/test-templates.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ if (Test-Path $binLogDir -ErrorAction SilentlyContinue) {
# Use same log file for all executions
$binlog = [IO.Path]::GetFullPath([IO.Path]::Combine($pwd, "..", "binlog", "test.binlog"))

Create-And-Build "akkaconsole" "AkkaConsole" "C#" "f" "net9.0" $binlog
Create-And-Build "akkaconsole" "AkkaConsole" "C#" "f" "net8.0" $binlog
Create-And-Build "akka.console" "AkkaConsole" "C#" "f" "net9.0" $binlog
Create-And-Build "akka.console" "AkkaConsole" "C#" "f" "net8.0" $binlog

Create-And-Build "akkastreams" "AkkaStreams" "C#" "f" "net9.0" $binlog
Create-And-Build "akkastreams" "AkkaStreams" "C#" "f" "net8.0" $binlog
Create-And-Build "akka.streams" "AkkaStreams" "C#" "f" "net9.0" $binlog
Create-And-Build "akka.streams" "AkkaStreams" "C#" "f" "net8.0" $binlog

Test-Template "akka.cluster.webapi" "ClusterWebTemplate" "C#" "f" "net9.0" $binlog
Test-Template "akka.cluster.webapi" "ClusterWebTemplate" "C#" "f" "net8.0" $binlog
Expand Down
2 changes: 1 addition & 1 deletion src/AkkaConsoleTemplate/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "A simple console application that uses Akka.NET and Akka.Hosting.",
"groupIdentity": "Akka.Console",
"identity": "Akka.Console.CSharp",
"shortName": "akkaconsole",
"shortName": "akka.console",
"defaultName": "AkkaConsole1",
"tags": {
"language": "C#",
Expand Down
2 changes: 1 addition & 1 deletion src/AkkaStreamsTemplate/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"description": "A simple console application that uses Akka.Streams and Akka.Hosting to asynchonrously process data.",
"groupIdentity": "Akka.Streams",
"identity": "Akka.Streams.CSharp",
"shortName": "akkastreams",
"shortName": "akka.streams",
"defaultName": "AkkaStreams1",
"tags": {
"language": "C#",
Expand Down

0 comments on commit 188c7f1

Please sign in to comment.