Commit Graph

716 Commits

Author SHA1 Message Date
Jeremie Dimino d9165fc53e Memoize a computation in odoc.ml 2017-05-26 18:34:49 +01:00
Jeremie Dimino 76d637fa74 Fix dependencies 2017-05-26 18:34:49 +01:00
Jeremie Dimino 43f413a59a Support library indexes 2017-05-26 18:34:49 +01:00
Jeremie Dimino 7f8f4b23ee Start of odoc rules 2017-05-26 18:34:49 +01:00
Jeremie Dimino e301f38358 typo 2017-05-26 17:31:45 +01:00
Jeremie Dimino e3a07f7f1a update changelog 2017-05-26 17:31:32 +01:00
Jeremie Dimino 60d09f7e27 Print background process failures when exiting 2017-05-26 17:30:34 +01:00
Jeremie Dimino 550a8d8f57 Fix #101 2017-05-26 17:23:49 +01:00
Jeremie Dimino 9f9660b91a Remove the global ppx_drivers variable in super_context.ml
Fix #100
2017-05-26 14:25:51 +01:00
Jeremie Dimino 1de95b9d81 Print the contents of OCAMLPARAM in the log 2017-05-26 14:07:21 +01:00
Jeremie Dimino f1f95cda37 Clarify --only-packages 2017-05-26 12:33:55 +01:00
Jeremie Dimino f3cdbfa66f Fix Path.rm_rf
It didn't delete the toplevel directory
2017-05-26 11:37:10 +01:00
Jeremie Dimino ed89188ed6 Update changelog 2017-05-26 11:34:15 +01:00
Richard Davison 91d03de221 Add clean subcommand (#89) 2017-05-26 11:32:32 +01:00
Jeremie Dimino 469e1ff744 try to make command line shorter for windows 2017-05-24 17:01:56 +01:00
Marek Kubica 3633d5b012 Fix small typo in quickstart 2017-05-24 14:38:10 +01:00
Jeremie Dimino cf121d3640 Don't use unix in bootstrap.ml 2017-05-24 14:21:02 +01:00
Yaron Minsky f994c4690e Update quick-start.rst 2017-05-22 11:58:58 +01:00
Yaron Minsky 4dada0e91d Update quick-start.rst 2017-05-22 11:58:58 +01:00
Yaron Minsky ad9285493b Add an example showing how to use ppx_jane 2017-05-22 11:58:58 +01:00
Jeremie Dimino 2e7140dfef Fix #86 2017-05-22 10:37:42 +01:00
Rudi Grinberg 3ee45d47e9 Merge pull request #87 from janestreet/yminsky-patch-1
Fix language choice for example in docs.
2017-05-21 16:54:39 -04:00
Yaron Minsky b8acabee43 Fix language choice for example in docs. 2017-05-21 14:45:06 -04:00
Jeremie Dimino e89ab73e4d Use a topkg friendly dev-repo url 2017-05-19 15:40:43 +01:00
Jeremie Dimino 9dcb627aee Update changelog 2017-05-19 15:25:42 +01:00
Jeremie Dimino d01270757f Remove ocamllex/ocamlyacc from the context
They were unused and this prevent jbuilder to be used with
opam-cross-windows.

Fixes #75
2017-05-19 15:24:55 +01:00
Jeremie Dimino 4dd0de1723 Fix #72 2017-05-19 14:16:00 +01:00
Jeremie Dimino b11638690e Update changelog 2017-05-19 13:29:27 +01:00
Jeremie Dimino 3661b7ae33 Update changelog 2017-05-19 13:11:17 +01:00
Jeremie Dimino c6dac87ee9 Ignore all directories starting with '.' pr '_' 2017-05-19 12:36:06 +01:00
Jeremie Dimino 503bc4532b update changelog 2017-05-19 12:15:45 +01:00
Jérémie Dimino 0a2157919c Split more long lines in makefiles 2017-05-19 08:27:21 +01:00
Jérémie Dimino 42cb733c6a Remove --debug-{actions,rules}
They are superseeded by 'jbuilder rules'
2017-05-19 08:27:21 +01:00
Jérémie Dimino 00ddd7f7a2 Improve formatting 2017-05-19 08:27:21 +01:00
Jérémie Dimino 0a98963293 fix 2017-05-19 08:27:21 +01:00
Jérémie Dimino fe30935fa2 Rename 'extract-makefile' to 'rules' 2017-05-19 08:27:21 +01:00
Rudi Grinberg 1309a92ec5 Fix links in rst docs
Were not converted correctly by pandoc so they must be fixed manually
2017-05-19 08:25:46 +01:00
Rudi Grinberg c0e0dfc107 Add doc target to test docs locally
Requires a local sphinx
2017-05-19 08:25:46 +01:00
Jeremie Dimino d219020b2f added jbuilder extract-makefile 2017-05-18 19:05:01 +01:00
Jeremie Dimino a3ee81055d Refactor IO functions and fix invalid IOs in gen_rules 2017-05-18 17:12:32 +01:00
Jeremie Dimino 9df1bad58c Change an error into a warning
Otherwise this breaks the build of atd.
2017-05-18 16:50:53 +01:00
Jeremie Dimino 6f20a3d938 external-lib-deps now suggest an opam command 2017-05-18 14:31:31 +01:00
Jeremie Dimino 453a44f570 Update changelog 2017-05-18 13:57:05 +01:00
Jeremie Dimino a399d9df8a Declare dependencies on external library files
This way, when an external library is reinstalled, jbuilder knows to
rebuild things.

Currently, because the library dependencies transitive closures are
computed dynamically and jbuilder doesn't yet support dynamic targets,
every single rule has to depend on all the external files.

When jbuilder support dynamic targets, we can setup one alias per
external directory.

Tested the build of 97 Jane Street repository at once. No slow down
observed for the initial build.

Then a null build goes from ~1.5s to 2s. The test case is a bit
extreme so it's bot that bad given the benefits.
2017-05-18 13:52:35 +01:00
Jeremie Dimino 08af136c97 Fix another stupid bug 2017-05-17 15:24:09 +01:00
Jeremie Dimino ad3ef27a36 Update changelog 2017-05-17 15:14:05 +01:00
Jeremie Dimino 80792e4e74 Handle the alternative findlib directory layout
Some packages still use this, such as ocp-blah and llvm
2017-05-17 15:12:11 +01:00
Jeremie Dimino b2a9d6dc51 Add: jbuilder installed-libraries --not-available 2017-05-17 14:56:53 +01:00
Jeremie Dimino 1814fc4299 Much better for findlib packages not found 2017-05-17 14:56:53 +01:00
Louis Roché f57c084f4b fix typo in quick start documentation (#79) 2017-05-17 08:12:58 +01:00