rules_dotnet icon indicating copy to clipboard operation
rules_dotnet copied to clipboard

next-assembly-info-files

Open njlr opened this issue 2 years ago • 0 comments

This PR adds a new attribute to the DotnetAssemblyInfo provider called files, which is all of the files in the package. This is ground-work for building a rules_fable.

Fable will attempt to "crack" a Nuget package by starting from a referenced DLL and walking up the directory tree till a nuspec file is found. Then it will try to collect any fs, fsi and fsproj files in that sub-tree. To support Fable without major modifications, it is easiest to give all package files as inputs to the Bazel action.

Details here: https://github.com/fable-compiler/Fable/blob/main/src/Fable.Cli/ProjectCracker.fs

njlr avatar Nov 12 '22 18:11 njlr