adrien changed the topic of #ocaml to: Discussions about the OCaml programming language | http://www.ocaml.org | OCaml 4.07.1 release notes: https://caml.inria.fr/pub/distrib/ocaml-4.07/notes/Changes | Try OCaml in your browser: http://try.ocamlpro.com | Public channel logs at http://irclog.whitequark.org/ocaml | Due to ongoing spam, you must register your nickname to talk on the channel
zolk3ri has quit [Ping timeout: 256 seconds]
zolk3ri has joined #ocaml
noddy has joined #ocaml
zolk3ri has quit [Quit: leaving]
ziyourenxiang has joined #ocaml
kvda has joined #ocaml
powerbit has quit [Read error: Connection reset by peer]
silver has quit [Read error: Connection reset by peer]
Jeanne-Kamikaze has joined #ocaml
jimt has quit [Quit: WeeChat 1.9.1]
Involuntary has joined #ocaml
Jeanne-Kamikaze has quit [Ping timeout: 264 seconds]
Madars has quit [Quit: reconnecting]
Madars has joined #ocaml
jimt has joined #ocaml
mfp has quit [Ping timeout: 245 seconds]
noddy has quit [Quit: WeeChat 2.4]
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Involuntary has quit [Quit: Leaving]
jao has quit [Ping timeout: 246 seconds]
kvda has joined #ocaml
zmt00 has quit [Ping timeout: 248 seconds]
gravicappa has joined #ocaml
Netsu has joined #ocaml
<Netsu> Hi. I have a question about Dune.
<Netsu> Can I split project's tests to several sub-libraries
<Netsu> or several reusable parts other way
<Netsu> and avoid installing that test's libraries with package itself?
<oni-on-ion> dune is happy to have many sub-projects. it goes "up" dirs to find "dune-project" file to determine the root.
<Netsu> oni-on-ion: the problem I got is: here I have one common "test" stanza of project, and several "library" stanza for each dune sub-project for testing (only) purpose, which required from common test.
<Netsu> And when I build the project, it require e.g. "alcotest". So it trying to build libraries which used not in executable, but in test only.
<oni-on-ion> is it one dune file or multiple dirs ?
<Netsu> multiple dune files in nested directories
<oni-on-ion> what is the error(s)?
<Netsu> when I do dune build -p project, it complain about alcotest in lib/component/test/dune. But project.component-test used only in test/dune.
<Netsu> where project.component-test is library, and test/* contain only tests stanza.
<oni-on-ion> what is alcotest? ive never used test stanza
<Netsu> oni-on-ion: oh, sorry, it one of test libraries.
<Netsu> so I don't need test dependencies at release build
<Netsu> so looking for possibility test-only libraries
<oni-on-ion> i dont know about -p either
<Netsu> oni-on-ion: Shorthand for --root . --only-packages PACKAGE, from dune build --help
<oni-on-ion> humm
<Netsu> Just trying to guess common approach to split test to libraries
<Netsu> do I need add extra package like project-test.opam for that?
<Netsu> looks like ocaml infrastructure kinda missing well structurization/organization :)
<oni-on-ion> dune has a new update , have you seen it?
<oni-on-ion> i have not used an .opam file yet
<oni-on-ion> just started using dune a couple months ago
<Netsu> dune 1.9 here
<oni-on-ion> ok, 1.10 here. not sure if the recent changes will help if there is behavior that you are expecting, else i dont know enough to see from here ^_^
<Netsu> maybe there's some abilities to setup libraries to exclude some of them from build?
<Netsu> oni-on-ion: anyway, thank you for trying to help!
<oni-on-ion> ah, maybe. i do 'dune build _build/default/something.exe' or lib directly for now. starting to use the toplevel instead
<oni-on-ion> Netsu, i hope it works out smoothly soon =)
<Netsu> oni-on-ion: thx, will try to add `(enabled_if (<> %{profile} release))` for that libraries for now..
narimiran has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
mildtaste has joined #ocaml
barockobamo has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
barockobamo has quit [Remote host closed the connection]
chindy has quit [Remote host closed the connection]
barockobamo has joined #ocaml
chindy has joined #ocaml
Haudegen has joined #ocaml
barockobamo has quit [Quit: Leaving]
ggole has joined #ocaml
malc_ has joined #ocaml
zolk3ri has joined #ocaml
kvda has quit [Ping timeout: 272 seconds]
rfv has quit [Ping timeout: 246 seconds]
rfv has joined #ocaml
kakadu has joined #ocaml
Bronsa has quit [Remote host closed the connection]
kvda has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kvda has joined #ocaml
powerbit has joined #ocaml
kvda has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mfp has joined #ocaml
iovec has joined #ocaml
silver has joined #ocaml
mildtaste has quit [Ping timeout: 258 seconds]
dhil has joined #ocaml
Haudegen has quit [Read error: Connection reset by peer]
malc_ has quit [Ping timeout: 245 seconds]
malc_ has joined #ocaml
mildtaste has joined #ocaml
Haudegen has joined #ocaml
iovec has quit [Quit: Connection closed for inactivity]
jao has joined #ocaml
gareppa has joined #ocaml
gareppa has quit [Quit: Leaving]
spew has joined #ocaml
wilfredh has joined #ocaml
FreeBirdLjj has joined #ocaml
dhil has quit [Ping timeout: 272 seconds]
theglass has quit [Ping timeout: 250 seconds]
theglass has joined #ocaml
theglass has quit [Changing host]
theglass has joined #ocaml
dhil has joined #ocaml
dhil has quit [Quit: Quit]
dhil has joined #ocaml
q9929t has joined #ocaml
q9929t has quit [Quit: q9929t]
barockobamo has joined #ocaml
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 246 seconds]
Haudegen has quit [Remote host closed the connection]
malc_ has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
themsay has joined #ocaml
ggole has quit [Quit: Leaving]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #ocaml
FreeBirdLjj has quit [Ping timeout: 245 seconds]
AtumT has joined #ocaml
AtumT has quit [Remote host closed the connection]
AtumT has joined #ocaml
Haudegen has joined #ocaml
ziyourenxiang has quit [Ping timeout: 245 seconds]
Serpent7776 has joined #ocaml
Jesin has quit [Quit: Leaving]
dhil has quit [Ping timeout: 245 seconds]
Jesin has joined #ocaml
Anarchos has joined #ocaml
barockobamo has quit [Remote host closed the connection]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
jnavila has joined #ocaml
ygrek has joined #ocaml
themsay has quit [Ping timeout: 268 seconds]
Netsu has quit [Quit: Page closed]
silver has quit [Read error: Connection reset by peer]
_whitelogger has joined #ocaml
themsay has joined #ocaml
gravicappa has quit [Ping timeout: 245 seconds]
lostman has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
Anarchos has quit [Quit: Vision[0.10.3]: i've been blurred!]
sagax has joined #ocaml
jnavila has quit [Ping timeout: 245 seconds]
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
themsay has quit [Read error: Connection reset by peer]
themsay has joined #ocaml
Serpent7776 has quit [Quit: leaving]
narimiran has quit [Ping timeout: 246 seconds]
spew has quit [Quit: going home]
kini has quit [Remote host closed the connection]
n00by has joined #ocaml
uzuki has quit [Ping timeout: 258 seconds]
n00by has quit [Ping timeout: 272 seconds]
uzuki has joined #ocaml
ygrek has quit [Ping timeout: 245 seconds]
apache2_ has joined #ocaml
apache2_ has quit [Client Quit]
kini has joined #ocaml
Haudegen has quit [Ping timeout: 245 seconds]
kakadu has quit [Remote host closed the connection]
nahra has joined #ocaml
uzuki has quit [Quit: pyon~]
AtumT has quit [Quit: AtumT]
ziyourenxiang has joined #ocaml
uzuki has joined #ocaml