Skip to content

Switch to use paket tool#17

Open
wallymathieu wants to merge 2 commits into
masterfrom
update-paket
Open

Switch to use paket tool#17
wallymathieu wants to merge 2 commits into
masterfrom
update-paket

Conversation

@wallymathieu
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s build/dependency bootstrap flow to use Paket as a .NET tool (and removes the previous build.proj-based restore entrypoint).

Changes:

  • Replace dotnet restore build.proj with dotnet tool restore + dotnet paket restore in the build scripts.
  • Add a .NET tool manifest for paket and fake-cli.
  • Update .paket/Paket.Restore.targets (likely regenerated) and remove the now-unused build.proj and root paket.references entry.

Reviewed changes

Copilot reviewed 8 out of 10 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
paket.references Removes the root-level reference (previously dotnet-fake).
paket.lock Updates dependency restriction entries (lockfile regeneration).
dotnet-tools.json Adds local .NET tool manifest for Paket + FAKE.
build.sh Switches restore step to dotnet tool restore / dotnet paket restore.
build.proj Removes MSBuild entrypoint previously used for restore/build orchestration.
build.fsx Adds an explicit type annotation to getProjectDetails parameter.
build.cmd Switches restore step to dotnet tool restore / dotnet paket restore.
.paket/Paket.Restore.targets Updates Paket MSBuild restore/pack integration logic (newer targets).
.paket/.gitignore Removes ignore rule for paket.exe.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread build.sh
Comment on lines +9 to +10
dotnet tool restore
dotnet paket restore
Comment thread build.cmd
Comment on lines +4 to +5
dotnet tool restore
dotnet paket restore
Comment on lines +68 to +71
<PropertyGroup Condition=" '$(PaketExePath)' == '' ">
<_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json"))</_DotnetToolsJson>
<_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"'))</_ConfigContainsPaket>
<_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false</_ConfigContainsPaket>
Comment thread dotnet-tools.json
Comment on lines +1 to +20
{
"version": 1,
"isRoot": true,
"tools": {
"paket": {
"version": "10.3.1",
"commands": [
"paket"
],
"rollForward": false
},
"fake-cli": {
"version": "6.1.4",
"commands": [
"fake"
],
"rollForward": false
}
}
} No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants