We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
src_root
main
The text was updated successfully, but these errors were encountered:
Which of the following do you think is better?
ocaml_native_binary( name = "hello", srcs = ["hello.ml"], # implies: main = "hello.ml" )
or
ocaml_native_binary( name = "hello", main = "hello.ml", # implies: srcs = ["hello.ml"] )
I prefer the first.
Sorry, something went wrong.
Yes, I also prefer the first one. You may add allow_empty=False to srcs.
allow_empty=False
srcs
No branches or pull requests
It would be nice to allow this:
In other words, when there's only one source file, it should be used as the root one.
Suggestion: Maybe rename
src_root
tomain
? I think it's a more common name.The text was updated successfully, but these errors were encountered: