Skip to content

Commit

Permalink
Update saturn.cli
Browse files Browse the repository at this point in the history
  • Loading branch information
cartermp committed Jul 9, 2022
1 parent 9b26651 commit c47f558
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion Content/.config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
]
},
"saturn.cli": {
"version": "0.12.1",
"version": "1.0.4",
"commands": [
"saturn"
]
Expand Down
4 changes: 2 additions & 2 deletions Build.fsproj → build/Build.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net6.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Compile Include="Build.fs" />
<Compile Include="build.fs" />
</ItemGroup>
<Import Project=".paket\Paket.Restore.targets" />
<Import Project="..\.paket\Paket.Restore.targets" />
</Project>
4 changes: 2 additions & 2 deletions build.fs → build/build.fs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -56,7 +56,7 @@ let init args =
{ args with
OutputPath = Some nupkgDir
}
) ""
) $"{__SOURCE_DIRECTORY__}/../Saturn.Template.proj"
)

Target.create "ReleaseGitHub" (fun _ ->
Expand Down
14 changes: 14 additions & 0 deletions build/paket.references
Original file line number Diff line number Diff line change
@@ -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
14 changes: 0 additions & 14 deletions paket.references
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit c47f558

Please sign in to comment.