Skip to content

Make src_root optional when there's only one srcs #7

@laurentlb

Description

@laurentlb

It would be nice to allow this:

ocaml_native_binary(
    name = "ocaml",
    srcs = "hello.ml",
)

In other words, when there's only one source file, it should be used as the root one.

Suggestion: Maybe rename src_root to main? I think it's a more common name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions