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
1 change: 1 addition & 0 deletions bin/dune_init.ml
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ module Component = struct
}
]
~contents_basename:None
~enabled_if:None
in
let packages = Package.Name.Map.singleton (Package.name package) package in
let info =
Expand Down
4 changes: 4 additions & 0 deletions doc/changes/unreleased/12905.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- Add `enabled_if` on the `package` stanza in `dune-project` files. If this field is set,
the expression is evaluated to determine whether to mask the package in this
workspace. When opam file generation is enabled, this field is converted to
a corresponding `available` expression (#12905, @rgrinbreg, @gridbugs)
Loading
Loading