Skip to content

Commit 61df58f

Browse files
committed
test(init): sublibraries should be accepted
1 parent ecbff41 commit 61df58f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
Sub-library names should be accepted:
2+
3+
$ dune init lib lib_s1_s2 --public lib.sub1.sub2
4+
dune: option '--public': invalid component name `lib.sub1.sub2'
5+
Library names must be non-empty and composed only of the
6+
following
7+
characters: 'A'..'Z', 'a'..'z', '_' or '0'..'9'.
8+
Usage: dune init library [OPTION]… NAME [PATH]
9+
Try 'dune init library --help' or 'dune --help' for more information.
10+
[1]

0 commit comments

Comments
 (0)