From c47f558593462f1bac309ed0f161d9bde9ea7453 Mon Sep 17 00:00:00 2001 From: Phillip Carter Date: Sat, 9 Jul 2022 22:41:17 +0000 Subject: [PATCH] Update saturn.cli --- Content/.config/dotnet-tools.json | 2 +- Build.fsproj => build/Build.fsproj | 4 ++-- build.fs => build/build.fs | 4 ++-- build/paket.references | 14 ++++++++++++++ paket.references | 14 -------------- 5 files changed, 19 insertions(+), 19 deletions(-) rename Build.fsproj => build/Build.fsproj (67%) rename build.fs => build/build.fs (95%) create mode 100644 build/paket.references diff --git a/Content/.config/dotnet-tools.json b/Content/.config/dotnet-tools.json index 81c26f7..5157552 100644 --- a/Content/.config/dotnet-tools.json +++ b/Content/.config/dotnet-tools.json @@ -9,7 +9,7 @@ ] }, "saturn.cli": { - "version": "0.12.1", + "version": "1.0.4", "commands": [ "saturn" ] diff --git a/Build.fsproj b/build/Build.fsproj similarity index 67% rename from Build.fsproj rename to build/Build.fsproj index 4b2c1ae..b0c966f 100644 --- a/Build.fsproj +++ b/build/Build.fsproj @@ -4,7 +4,7 @@ net6.0 - + - + diff --git a/build.fs b/build/build.fs similarity index 95% rename from build.fs rename to build/build.fs index 3d04561..7288080 100644 --- a/build.fs +++ b/build/build.fs @@ -17,7 +17,7 @@ let gitOwner = "SaturnFramework" let gitHome = "https://github.com/" + gitOwner let gitName = "Saturn.Template" -let release = ReleaseNotes.parse (System.IO.File.ReadAllLines "RELEASE_NOTES.md") +let release = ReleaseNotes.parse (System.IO.File.ReadAllLines $"{__SOURCE_DIRECTORY__}/../RELEASE_NOTES.md") let formattedRN = release.Notes @@ -56,7 +56,7 @@ let init args = { args with OutputPath = Some nupkgDir } - ) "" + ) $"{__SOURCE_DIRECTORY__}/../Saturn.Template.proj" ) Target.create "ReleaseGitHub" (fun _ -> diff --git a/build/paket.references b/build/paket.references new file mode 100644 index 0000000..eb2e0c4 --- /dev/null +++ b/build/paket.references @@ -0,0 +1,14 @@ +group Build + + nuget Fake.Core.Target + nuget Fake.Core.Process + nuget Fake.DotNet.Cli + nuget Fake.Core.ReleaseNotes + nuget Fake.DotNet.AssemblyInfoFile + nuget Fake.DotNet.Paket + nuget Fake.Tools.Git + nuget Fake.Core.Environment + nuget Fake.Core.UserInput + nuget Fake.IO.FileSystem + nuget Fake.DotNet.MsBuild + nuget Fake.Api.GitHub \ No newline at end of file diff --git a/paket.references b/paket.references index eb2e0c4..e69de29 100644 --- a/paket.references +++ b/paket.references @@ -1,14 +0,0 @@ -group Build - - nuget Fake.Core.Target - nuget Fake.Core.Process - nuget Fake.DotNet.Cli - nuget Fake.Core.ReleaseNotes - nuget Fake.DotNet.AssemblyInfoFile - nuget Fake.DotNet.Paket - nuget Fake.Tools.Git - nuget Fake.Core.Environment - nuget Fake.Core.UserInput - nuget Fake.IO.FileSystem - nuget Fake.DotNet.MsBuild - nuget Fake.Api.GitHub \ No newline at end of file