Commit Graph

150 Commits

Author SHA1 Message Date
Jeremie Dimino 3ae53de431 Add an "executable" stanza and make it easier to install executables
(executable ...) is easier to use where there is a single executable.

Also add a (package ...) and (public_name <name>)/(public_names
(<names)) to executable/executables stanzas, to make it easier to
install executables.

Closes #33
2017-03-22 15:09:26 +00:00
Jeremie Dimino 3b0c6403ee Fix a bug in Findlib.available
Fix #24
2017-03-15 12:07:20 +00:00
Jeremie Dimino 5366f76fdb Print optional deps as optional with external-lib-deps --missing 2017-03-10 16:35:02 +00:00
Jeremie Dimino d959b0f928 Add a Log module and print out the context in the log file 2017-03-10 12:32:27 +00:00
Jeremie Dimino 4aec06ee46 Better rules for finding the root 2017-03-10 10:41:34 +00:00
Jérémie Dimino 74e015923a Ignore <package>.opam when <package> is empty 2017-03-09 06:41:42 +00:00
Jeremie Dimino 3a86b3fefa Fix root finding
Look for .opam files instead of .install ones...
2017-03-08 12:10:54 +00:00
Jeremie Dimino 581c63f6ca Added --debug-action 2017-03-03 12:46:54 +00:00
Jeremie Dimino 4fa0844e42 Remove build-package in favor of --only-packages 2017-03-02 18:21:19 +00:00
Jeremie Dimino 51ce0c2daf Restrict the scope of internal names
Otherwise building several packages at once doesn't always work
2017-03-02 16:57:28 +00:00
Jeremie Dimino 14f2408543 typo 2017-03-01 19:28:44 +00:00
Jeremie Dimino 97de72c8dd Improve the external-lib-deps command 2017-03-01 19:19:43 +00:00
Jeremie Dimino 4ee2e74131 Make build-package work 2017-03-01 13:25:18 +00:00
Jeremie Dimino c88bf33131 Add jbuilder exec 2017-03-01 12:09:57 +00:00
Jeremie Dimino c3228ee95e fix ocamllex/ocamlyacc rules 2017-03-01 11:34:51 +00:00
Jeremie Dimino 643e43158e Populate a bit the manual pages 2017-02-28 19:05:04 +00:00
Jérémie Dimino e0a8e77614 Implement root lookup 2017-02-28 07:32:15 +00:00
Jérémie Dimino 2ee522be52 Add a Findlib.t in the context 2017-02-28 06:01:27 +00:00
Jeremie Dimino bad68218b9 Add a --workspace option 2017-02-27 15:07:37 +00:00
Jeremie Dimino bd9033f9bb Allow 'ocamlfind printconf path' to fail 2017-02-27 11:38:11 +00:00
Jérémie Dimino b27591aa7e Fix deprecated warning 2017-02-26 21:30:28 +00:00
Jérémie Dimino 304d7becbc Allow to specify which context for merlin 2017-02-26 20:53:32 +00:00
Jérémie Dimino af82f587e4 Fix installion when there are multiple contexts 2017-02-25 14:15:52 +00:00
Jérémie Dimino 7cae1cd3f7 Simplify target resolution 2017-02-25 14:01:08 +00:00
Jérémie Dimino 01e76a64eb Don't force to have a default context 2017-02-25 02:38:41 +00:00
Jérémie Dimino 63ff502114 Build targets for all contexts 2017-02-25 02:14:32 +00:00
Jérémie Dimino 2c5ccc9443 Fix runtest command 2017-02-25 02:02:11 +00:00
Jérémie Dimino 0ba7299117 Handle installation into multiple contexts at once 2017-02-25 01:45:41 +00:00
Jérémie Dimino 9fe0e9c87d Improve alias management 2017-02-25 01:33:37 +00:00
Jeremie Dimino a0ce6a68aa Install all manual pages 2017-02-24 17:36:39 +00:00
Jeremie Dimino 24ac055511 Avoid loading findlib packages more than once 2017-02-24 16:29:08 +00:00
Jeremie Dimino dd77e045e6 Set the default command to printing some help 2017-02-24 15:47:09 +00:00
Jeremie Dimino 437a4fa5d7 added install/uninstall commands 2017-02-24 15:41:52 +00:00
Jeremie Dimino 4bdac39dd4 fix use of labels 2017-02-24 13:08:37 +00:00
Jeremie Dimino e148f75ee4 add an install alias 2017-02-24 12:54:51 +00:00
Jeremie Dimino bdcc86d7a8 add support for building aliases 2017-02-24 12:31:01 +00:00
Jeremie Dimino 9c6e367089 Add a development mode and cleanup the code 2017-02-24 12:19:02 +00:00
Jeremie Dimino a3cd58de5d A bit more colors 2017-02-24 11:38:50 +00:00
Jeremie Dimino 03f788a0fa a bit more colors 2017-02-24 11:16:55 +00:00
Jeremie Dimino f2e1f7d2ce Check that packages are correctly specified in jbuilds 2017-02-23 16:47:25 +00:00
Jeremie Dimino fe929a07d7 Don't require packages to be defined at the root
To match the manual
2017-02-23 15:59:44 +00:00
Jeremie Dimino 3716f87285 Add a runtest command
Closes #3
2017-02-23 13:17:38 +00:00
Jeremie Dimino affacb8925 Disable handling of exceptions by cmdliner 2017-02-23 12:15:57 +00:00
Jeremie Dimino 901d9acc2a Don't mangle the output of commands and keep a log file 2017-02-23 11:45:03 +00:00
Jeremie Dimino 0281a95f2c improve man pages a bit 2017-02-23 10:32:23 +00:00
Jeremie Dimino 2295db637c Name positional arguments 2017-02-23 10:23:15 +00:00
Jeremie Dimino 358c9ecbc6 Implement targets resolution
Prepend _build/default only when a path is not a direct target. This
way "jbuilder build package.install" does produce the
"package.install" file
2017-02-23 10:04:32 +00:00
Jeremie Dimino 193f8d5238 moved cmdliner and re to vendor/ 2017-02-21 15:09:58 +00:00
Jeremie Dimino 405971694c 114.20+69 2016-12-15 16:54:46 +00:00
Jeremie Dimino cdcd7e907f 114.20+69 2016-12-02 13:54:32 +00:00