Commit Graph

948 Commits

Author SHA1 Message Date
Rudi Grinberg dd99126d36 Update CHANGELOG for next version 2017-11-07 23:02:31 +08:00
Rudi Grinberg 5fa8f6eb26
Add "S ." to .merlin (#284) 2017-11-07 22:16:36 +08:00
Rudi Grinberg a57c488dd7
Fix jbuilder rule in case of missing binaries (#292)
Make jbuilder rules work even when binaries are missing

* Proper error messages for missing binaries

* Unify Prog_spec and Maybe_prog

both can simply be unified into a path type that has a hint for the error

* Remove scarcely useful in_the_tree parameter

It's always true except for the C compiler. In which case, there's no harm in
making it true.

* Make Artifacts return Action.Prog

The old return value was simply converted to this anyway. It's simpler to just
return the proper error straight up.

* Remove remains of in_the_tree
2017-11-07 21:42:55 +08:00
Rudi Grinberg 9c8ecc9fbc
Improve jbuilder exec (#286)
* Improve jbuilder exec

When the path passed contianed to exec contains a '/', it will be interpreted
relative to the path of a build context (default context when absent)

* Update man page of jbuilder exec

* Add String.drop_prefix

* Make jbuilder exec understand relative/absolute paths

jbuilder exec will now interpret absolute paths as relative to the specified
build context. While relative paths will now be intepreted relative to the cwd
appended to the specified build context.

* Fix jbuilder exec /absolute/path

When the path provided to jbuilder exec is absolute, we should ignore the build
context for looking up the binary.

* Fix exec when ran outside of root

Previously, a call like $ jbuilder exec ./xxx --root=p would raise
an exception. Now ./xxx will be intepreterd relative to --root.

* Fix relative paths when jbuilder is ran outside of --root

* Simplify documentation for jbuilder exec
2017-11-07 21:41:09 +08:00
Rudi Grinberg 8718fdac88
Merge pull request #306 from MiloDavis/doc-non-public
Build documentation for non-public libraries
2017-11-07 20:54:00 +08:00
Rudi Grinberg 1cf4f81767 Correct change log
Regression was on all 32 bit OCaml rather than Windows
2017-11-06 21:36:25 +08:00
Rudi Grinberg 1f0be6f9e3 Update change log for beta 16 2017-11-06 17:40:51 +08:00
Rudi Grinberg adb5662ee7
Merge pull request #314 from rgrinberg/4.06.0-boilerplate
4.06.0 boilerplate
2017-11-06 17:38:20 +08:00
Rudi Grinberg 723dc7669d
Merge pull request #313 from janestreet/arch-sixtyfour-4.06-fix
Fix regression introduced by PR303.
2017-11-06 17:12:57 +08:00
Rudi Grinberg d555591820 Update workspace for 4.06.0 and 4.07.0+trunk 2017-11-06 17:08:25 +08:00
Rudi Grinberg 589b79ae28 Update CI matrix for 4.06.0 2017-11-06 17:07:56 +08:00
xclerc e28cc8d070 Fix regression introduced by PR303. 2017-11-06 09:30:50 +01:00
Rudi Grinberg 4ec018c4c7 Update CHANGELOG for 1.0+beta15 2017-11-04 22:05:14 +08:00
Rudi Grinberg 5149fdd6b0
Merge pull request #303 from janestreet/arch-sixtyfour-4.06
Fix detection of 64-bit architectures for 4.06
2017-11-04 01:43:36 +08:00
Milo Davis f645f0c030 Build documentation for non-public libraries 2017-11-03 16:12:06 +01:00
Xavier Clerc 70946320fd Use `=` rather than `String.equal` for better compatibility. 2017-11-03 13:49:47 +00:00
Xavier Clerc 9b04e7e931 Look for architecture size in the output of `ocamlc -config` first. 2017-11-03 13:44:41 +00:00
Xavier Clerc 72a3cb008f Look for `ARCH_SIXTYFOUR` in both `config.h` and `m.h`. 2017-11-02 12:31:14 +00:00
Rudi Grinberg 0d4c1ede99
Merge pull request #299 from rgrinberg/set-default-goal-make
Set default goal explicitly in Makefile
2017-10-30 21:08:57 +08:00
Rudi Grinberg d45db83387 Set default goal explicitly in Makefile
In case new rules are introduced in Makefile.dev
2017-10-29 17:40:48 +08:00
François Bobot 4363fb0b12 Merge pull request #296 from zenhack/doc-exe-clarification
Clarify use of the .exe extension in the documentation
2017-10-26 13:17:04 +02:00
Ian Denhardt b5ba49d9b4 Clarify use of the .exe extension
.exe for executables is usually a windows-only convention; this threw me
for a moment and it seems worth calling out that this isn't platform
dependent.
2017-10-25 15:10:32 -04:00
François Bobot 27cbf1de38 Merge pull request #294 from janestreet/revert-290-new-odoc
Revert "RFC update odoc rules"
2017-10-24 14:05:19 +02:00
François Bobot 2bd8fe49b4 Revert "RFC update odoc rules" 2017-10-24 13:58:34 +02:00
François Bobot e88b94b4f5 Merge pull request #290 from janestreet/new-odoc
Compelte and update odoc comments
2017-10-24 13:58:10 +02:00
Thomas Refis 765302461d odoc: handle .mld files 2017-10-24 11:51:28 +01:00
Rudi Grinberg aaafdf02fe Merge pull request #287 from rgrinberg/duplicate-public-names
Report duplicate names with a good error message
2017-10-22 19:17:11 +08:00
Rudi Grinberg 266af18836 Merge pull request #288 from zploskey/fix_error_message
Fix depending spelling and add comma in error message
2017-10-20 15:06:54 +08:00
Zach Ploskey 3c9de3a9d1 Fix depending spelling and add comma in error message 2017-10-19 23:28:14 -07:00
Rudi Grinberg bfc83d71d7 Report duplicate names with a good error message
Indicate which name is duplicated in which jbuild files
2017-10-20 11:08:42 +08:00
Rudi Grinberg a63276f5b3 Merge pull request #268 from janestreet/new-alias-semantic
Sort out recursive/non-recursive aliases
2017-10-19 15:33:23 +08:00
Rudi Grinberg e23f6fe8bb Use Alias.of_path over Path operations and Alias.make 2017-10-19 08:35:08 +08:00
Rudi Grinberg bfb241cce0 add pretty printers to Alias
Useful for debugging
2017-10-19 08:31:52 +08:00
Rudi Grinberg 02a4c59654 Remove mention of recursive aliases from error message
all aliases are non recursive
2017-10-19 08:17:34 +08:00
Rudi Grinberg 192f6681e0 Fix jsoo cram tests
The order of some commands changed. However, the same commands are still being
executed.
2017-10-16 10:38:40 +08:00
Rudi Grinberg 604e599e4e Merge pull request #278 from rgrinberg/doc-tweaks
Document utop command
2017-10-16 08:01:09 +08:00
Rudi Grinberg f9025a401a Document utop command 2017-10-14 18:50:37 +08:00
Jeremie Dimino 7232176d7a Update changelog 2017-10-14 10:38:58 +08:00
Jeremie Dimino 63e8a76006 Add tests for aliases 2017-10-14 10:37:36 +08:00
Jeremie Dimino 8466924a73 Update doc 2017-10-14 10:37:36 +08:00
Jeremie Dimino ed55ca9efe Fix interpretation of (alias ...) and (alias_rec ...) 2017-10-14 10:37:36 +08:00
Jeremie Dimino b69a6432dd Add (alias_rec ...) in dependency specification
(alias_rec XXX) means the same as @XXX on the command line.
2017-10-14 10:37:36 +08:00
Jeremie Dimino b281554009 Get rid of recursive aliases 2017-10-14 10:37:36 +08:00
Jeremie Dimino 30a914278e All aliases on the command line are recursive
Calling 'jbuilder build @path/x' always request the alias `x` in
`path` and all its descendant.

To implement that, change the build system interface to take an
arbitrary request as argument.
2017-10-14 10:37:36 +08:00
Jeremie Dimino 3e13492b7a Get rid of Alias.tree 2017-10-14 10:37:36 +08:00
Jeremie Dimino 7a5698c7b1 Interpret jbuild-ignore files sooner
Interpret then while loading the file tree.
2017-10-14 10:37:36 +08:00
Rudi Grinberg c28ee8fa10 Merge pull request #280 from aantron/odoc-index-libraries-not-packages
Docs: list all libraries in top-level index
2017-10-11 21:31:15 -04:00
Rudi Grinberg 00b62c4d5a Merge pull request #282 from aantron/odoc-highest-up-links
Fix "Up" links to top-level index
2017-10-11 21:22:17 -04:00
Rudi Grinberg ef517a8f3b Update changelog for 1.0+beta14 2017-10-11 16:12:20 -04:00
Rudi Grinberg a19ada5168 Update CHANGES 2017-10-11 16:00:38 -04:00