From 89c2f59bd4582506d19035b3d26b24c7dc0addcb Mon Sep 17 00:00:00 2001 From: Jamess-Lucass <23193271+Jamess-Lucass@users.noreply.github.com> Date: Sat, 13 Jul 2024 22:51:10 +0100 Subject: [PATCH] wip --- Makefile | 13 +++++++++++++ .../src/{ => Attributes}/EnableQueryAttribute.cs | 0 .../src/GoatQuery.AspNetCore.csproj | 2 +- 3 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 Makefile rename src/GoatQuery.AspNetCore/src/{ => Attributes}/EnableQueryAttribute.cs (100%) diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..747db23 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +build: + dotnet build ./src/GoatQuery/src --configuration Release + dotnet build ./src/GoatQuery.AspNetCore/src --configuration Release + +package: + dotnet pack ./src/GoatQuery/src --configuration Release -p:Version=0.0.1-local + dotnet pack ./src/GoatQuery.AspNetCore/src --configuration Release -p:Version=0.0.1-local + +publish-local: + mkdir -p ~/.nuget/local-packages + dotnet nuget push ./src/GoatQuery/src/bin/Release/GoatQuery.0.0.1-local.nupkg -s ~/.nuget/local-packages + dotnet nuget push ./src/GoatQuery.AspNetCore/src/bin/Release/GoatQuery.AspNetCore.0.0.1-local.nupkg -s ~/.nuget/local-packages + diff --git a/src/GoatQuery.AspNetCore/src/EnableQueryAttribute.cs b/src/GoatQuery.AspNetCore/src/Attributes/EnableQueryAttribute.cs similarity index 100% rename from src/GoatQuery.AspNetCore/src/EnableQueryAttribute.cs rename to src/GoatQuery.AspNetCore/src/Attributes/EnableQueryAttribute.cs diff --git a/src/GoatQuery.AspNetCore/src/GoatQuery.AspNetCore.csproj b/src/GoatQuery.AspNetCore/src/GoatQuery.AspNetCore.csproj index 6f9b850..2f32985 100644 --- a/src/GoatQuery.AspNetCore/src/GoatQuery.AspNetCore.csproj +++ b/src/GoatQuery.AspNetCore/src/GoatQuery.AspNetCore.csproj @@ -1,7 +1,7 @@  - netcoreapp3.1;net5.0 + net6.0;net8.0 11.0 GoatQuery.AspNetCore enable