Skip to content

Commit

Permalink
Merge pull request #580 from rgrinberg/meta-exclude-private-libs
Browse files Browse the repository at this point in the history
META file includes private libraries
  • Loading branch information
rgrinberg committed Mar 5, 2018
2 parents 8f2a9eb + 14d1a4f commit 2945569
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion test/blackbox-tests/test-cases/meta-gen/jbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@
(public_name foobar)
(synopsis "contains \"quotes\"")))

(library
((name privatelib)))

(library
((name foobar_baz)
(public_name foobar.baz)
(libraries (bytes))
(libraries (bytes privatelib))
(modes (byte))
(synopsis "sub library with modes set to byte")))

Expand Down
2 changes: 1 addition & 1 deletion test/blackbox-tests/test-cases/meta-gen/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package "baz" (
directory = "baz"
description = "sub library with modes set to byte"
requires = "bytes"
requires = "bytes privatelib"
archive(byte) = "foobar_baz.cma"
archive(native) = "foobar_baz.cmxa"
plugin(byte) = "foobar_baz.cma"
Expand Down

0 comments on commit 2945569

Please sign in to comment.