rules_dotnet
rules_dotnet copied to clipboard
.fsi files unsupported?
It appears that .fsi files are unsupported?
load(
"@rules_dotnet//dotnet:defs.bzl",
"fsharp_library",
)
fsharp_library(
name = "fsharp_signature_files",
srcs = [
"domain.fsi",
"domain.fs",
],
target_frameworks = ["netstandard2.1"],
deps = [
"@paket.example_deps//fsharp.core",
],
)
/home/njlr/Documents/rules_dotnet/examples/fsharp_signature_files/BUILD.bazel:6:15: in srcs attribute of fsharp_library rule //fsharp_signature_files:fsharp_signature_files: source file '//fsharp_signature_files:domain.fsi' is misplaced here (expected .fs)
Repro here: https://github.com/bazel-contrib/rules_dotnet/pull/499
Yes, they are not supported currently. They would probably have to be a separate rule because they are not built the same way as a normal F# library/binary.