Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,28 @@
<configuration>
<packageSources>
<clear />
<!--
BuildAlyzer has a bug with .NET 10, there is a fix available since 1 month
but no sign of a release for now.

For this reason, we want to use a local version of BuildAlyzer with the fix included
and remove our own version later on.

See:
- https://github.com/Buildalyzer/Buildalyzer/issues/318
- https://github.com/Buildalyzer/Buildalyzer/pull/319

To build the custom version of Buildalyzer

1. Clone https://github.com/Buildalyzer/Buildalyzer
2. Comment all `<PackageValidationBaselineVersion>` lines (in the 3 projects). I was not able to make dotnet pack work with it
3. Run `dotnet build -c Release && dotnet pack -p:Version=8.0.0-fable-001`
4. Copy the `*nupkg` and `*.snupkg` to the Fable `LocalPackages` folder.

cp **/bin/**/*.nupkg <path-to>/LocalPackages/
cp **/bin/**/*.snupkg <path-to>/LocalPackages/
-->
<add key="LocalPackages" value="local-packages" />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
<disabledPackageSources>
Expand Down
Binary file added local-packages/Buildalyzer.8.0.0-fable-001.nupkg
Binary file not shown.
Binary file added local-packages/Buildalyzer.8.0.0-fable-001.snupkg
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions src/Fable.Cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* [All] Fix `--cwd` with quoted paths (by @MangelMaxime)
* [All] Fix `--legacyCracker` flag logic (by @MangelMaxime)
* [All] Fix `BuildalyzerCracker` so it can work on .NET 10 (by @MangelMaxime)

### Changed

Expand Down
2 changes: 1 addition & 1 deletion src/Fable.Cli/Fable.Cli.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<Reference Include="../../lib/fcs/FSharp.Core.dll" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Buildalyzer" Version="7.1.0" />
<PackageReference Include="Buildalyzer" Version="8.0.0-fable-001" />
<PackageReference Include="EasyBuild.PackageReleaseNotes.Tasks" Version="2.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
Expand Down
Loading