bazel-contrib / bazel-contrib/rules_dotnet
Publish as single file?
- Dominant language
- Starlark
- Stars
- 209
- Forks
- 98
- Avg merge
- 3h 59m
- Merged PRs (30d)
- 14
Description
I am trying to publish an `fsharp_binary` as a single file, equivalent to:
```bash
dotnet publish -c Release --runtime linux-x64 --self-contained -p:PublishSingleFile=true
```
Is this possible? It appears that this is a TODO?
https://github.com/bazelbuild/rules_dotnet/blob/master/dotnet/private/rules/publish_binary/publish_binary.bzl#L83-L89
If so, I guess we can use this issue for tracking.
Contributor guide
Research direction
Start in dotnet/private/rules/publish_binary/publish_binary.bzl at lines 83-89, then compare the requested dotnet publish command with the current fsharp_binary publishing behavior. Done means determining how to support the equivalent PublishSingleFile, runtime, configuration, and self-contained settings, with the resulting publish output verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- fsharp
- Domain
- build-system, release
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100