-
Notifications
You must be signed in to change notification settings - Fork 469
dune init exec foo src --lib=lwt.unix fails #3443
Copy link
Copy link
Closed
ocaml/opam-repository
#16585Description
Expected Behavior
dune init exec foo src --lib=lwt.unix to succeed and create a dune file and src folder.
Actual Behavior
Error below.
dune: option `--libs': invalid element in list (`lwt.unix'): invalid
component name `lwt.unix'
Library names must be non-empty and composed only of the
following
characters: 'A'..'Z', 'a'..'z', '_' or '0'..'9'.
Usage: dune init [OPTION]... INIT_KIND NAME [PATH]
Try `dune init --help' or `dune --help' for more information.
Reproduction
Any lib name with that has characters other than 'A - Z', 'a - z', '_', '0-9'.
dune init exec foo src --lib=lwt.unix
Specifications
- Version of
dune(output ofdune --version): 2.5.0 - Version of
ocaml(output ofocamlc --version): 4.10.0 - Operating system (distribution and version): red hat linux 8.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels