Skip to content

Commit

Permalink
Merge pull request #31 from MadL1me/release/8.3.0
Browse files Browse the repository at this point in the history
Added .gitignore, fixed repositories issues
  • Loading branch information
MadL1me authored Jun 25, 2024
2 parents df4a3ec + f089e00 commit 5454476
Show file tree
Hide file tree
Showing 22 changed files with 644 additions and 65 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
TEST_PROJ_NAME=MyProject
TEMPL_DOTNET_NAME=aspnext
NUGET_FILE=Aspnext.Template.8.2.0.nupkg
NUGET_FILE=Aspnext.Template.8.3.0.nupkg
NUGET_API_KEY=<YOUR_NUGET_API_KEY>
11 changes: 4 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Define environment variables
TEMPL_DIR := src/template
DOTENV := .env.prod
TEST_PROJ_OUT := "experiments/Rule"
include $(DOTENV)
export $(shell sed 's/=.*//' $(DOTENV))

Expand Down Expand Up @@ -33,17 +34,13 @@ pack-release:
dotnet pack --configuration Release

new:
cd $(TEMPL_DIR)/nupkg && \
dotnet new $(TEMPL_DOTNET_NAME) -o $(TEST_PROJ_NAME)
rm -rf $(TEST_PROJ_OUT)
dotnet new $(TEMPL_DOTNET_NAME) -o $(TEST_PROJ_OUT)

run-dotnet:
cd $(TEMPL_DIR)/nupkg/$(TEST_PROJ_NAME) && \
cd $(TEST_PROJ_OUT) && \
dotnet run

run:
cd $(TEMPL_DIR)/nupkg/$(TEST_PROJ_NAME)/$(TEST_PROJ_NAME) && \
docker compose up

info:
dotnet new $$TEMPL_DOTNET_NAME -h

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![Dotnet foundation](https://img.shields.io/badge/-.NET%20Template-blueviolet)](https://dotnetfoundation.org/)
![Version](https://img.shields.io/badge/version-8.2.0-blue)
![Version](https://img.shields.io/badge/version-8.3.0-blue)
[![Nuget package](https://img.shields.io/badge/Nuget%20-Package-red)](https://www.nuget.org/packages/Aspnext.Template/8.2.0)

# <img width="35" alt="Asset 1@2x" src="https://github.com/MadL1me/aspnet-awesome-templates/assets/46647517/e81a904e-6b5a-4d25-8ed4-5630d495b045"> AspNext
Expand All @@ -17,7 +17,7 @@ If you don't want to use it, you can start with __main__ template like this:
1. Install template:

```sh
dotnet new install Aspnext.Template::8.2.0
dotnet new install Aspnext.Template::8.3.0
```

2. Create template with dotnet new:
Expand Down
2 changes: 1 addition & 1 deletion src/template/Aspnext.Template.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<PackageType>Template</PackageType>
<PackageVersion>8.2.0</PackageVersion>
<PackageVersion>8.3.0</PackageVersion>
<PackageId>Aspnext.Template</PackageId>
<Title>ASP.NET 8 awesome SPA template</Title>
<Authors>Ilya Klimenko (MadL1me)</Authors>
Expand Down
Loading

0 comments on commit 5454476

Please # to comment.