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
Rudi Grinberg
9326c412d9
Merge pull request #281 from aantron/nits
...
Fix typo
2017-10-11 15:41:34 -04:00
Anton Bachin
9e3b64af86
Fix "Up" links to top-level index
...
When the docs are viewed locally, the URL ".." causes the browser to
display a listing of the parent directory, instead of "../index.html".
The "../index.html" interpretation is only provided by web servers.
2017-10-11 10:24:02 -05:00
Anton Bachin
48d9be2d00
Docs: list all libraries in top-level index
...
This commit changes the top-level index of the docs generated by
Jbuilder so that the index lists all installed libraries (Findlib
library packages generated by Jbuilder), rather than only opam packages.
For example, current Markup.ml installs libraries
markup
markup.lwt
markup.lwt.unix
With this change, all these libraries are listed in the index. Before
this change, only markup was listed, because it happened to coincide
with the name of the opam package that contains all three libraries.
Not listing the extra libraries makes them undiscoverable, as they can
only be reached by direct URL.
2017-10-11 09:39:46 -05:00
Anton Bachin
21a5296994
Fix typo
2017-10-11 07:32:41 -05:00
Rudi Grinberg
ff15a057e9
Merge pull request #231 from rgrinberg/include-support-variables
...
support ${..} in :include
2017-10-11 01:18:40 -04:00
Rudi Grinberg
97511eb77b
fix header for "running tests"
2017-10-10 16:15:50 -04:00
Rudi Grinberg
7c6f3e6dd6
support ${..} in :include
2017-10-10 15:53:39 -04:00
Rudi Grinberg
001daa62d0
Merge pull request #232 from rgrinberg/string-with-vars-bounds
...
Fix out of bounds access when tokenising String_with_vars
2017-10-10 15:42:05 -04:00
Rudi Grinberg
08050696fb
Merge pull request #277 from mc10/patch-1
...
README: Use the SVG Travis badge
2017-10-06 22:26:30 -05:00
Kevin Ji
86e667a1b6
README: Use the SVG Travis badge
2017-10-05 23:59:58 -07:00
David Allsopp
04860e4ce9
Temporarily re-order the stages
...
OSX often builds more slowly, and it's useful to get an answer from the
Test stage sooner.
See also https://github.com/travis-ci/beta-features/issues/28
2017-09-30 08:42:11 +01:00
David Allsopp
5fb66b9c24
Include macOS in the Test stage
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-09-30 08:42:11 +01:00
David Allsopp
26b2c40606
Build opam, rather than installing it
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-09-30 08:42:11 +01:00
David Allsopp
51d6421ae4
Run tests on Travis
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-09-30 08:42:11 +01:00
Jeremie Dimino
a47e3ab78a
Fix cram tests
2017-09-29 17:22:15 +01:00
David Allsopp
0e46cdd4e3
Clflags.workspace_root needs to be absolute
...
Since the fix for #262 in 3fb19150
it is necessary for workspace_root to
be absolute. In particular, `jbuilder build -p foo` (which implies
`--root=.`) needs to evaluate what that root is.
2017-09-29 14:14:21 +01:00
Jeremie Dimino
5de73ca740
Add support for locks in rules
...
This is to allow users define more complicated tests without having
to resort to -j1.
2017-09-29 12:20:08 +01:00
Jeremie Dimino
24e9fbf046
Update changelog
2017-09-29 12:04:27 +01:00
Jeremie Dimino
30076e7d79
Fix #264
2017-09-29 12:01:47 +01:00
Jeremie Dimino
50cbbe2ac5
Add ${path-no-dep:...}
...
To be able to resolve path names that are not dependencies.
2017-09-29 11:55:23 +01:00
Jeremie Dimino
726e738bb6
Expose bug described in #264
2017-09-29 11:28:36 +01:00
Jeremie Dimino
8383a00e4c
Generate man page for 'jbuilder utop'
2017-09-29 11:28:01 +01:00
Jeremie Dimino
cc0bf2dfb7
Rephrase the doc for (merlin) in jbuild-workspace
...
Related to #257
2017-09-22 12:20:22 +01:00
Jeremie Dimino
3fb1915033
Fix #262
...
Use the absolute path when evaluating a jbuild file in OCaml syntax.
2017-09-22 11:20:13 +01:00
Jeremie Dimino
c636331148
Update changelog
2017-09-22 02:26:39 +01:00
Jeremie Dimino
e37e630da5
Allow to use utop when the library has C stubs
2017-09-22 02:22:46 +01:00
Jeremie Dimino
b965c66af5
Avoid generating useless .utop/.merlin files
2017-09-22 02:16:26 +01:00
Jeremie Dimino
dd3eaf2695
Fix quoting of generated strings in utop.ml
...
It was broken in Windows
2017-09-22 02:04:57 +01:00
Jeremie Dimino
157e4d6548
Print "Entering directory '...'" when necessary
...
When the root of the workspace is not the current directory, print:
Entering directory '<absolute path to root>'
This way editors such as emacs or vim knows how to interpret filenames
reported by the compiler.
Fixes #138
2017-09-22 01:59:45 +01:00
Jeremie Dimino
b2e7720b41
Interpret empty jbuild-workspace files as default configuration
...
If a workspace file is empty, interpret it the same as if it contained:
(context default)
As discussed in #234
2017-09-22 01:59:45 +01:00
Jeremie Dimino
c71acbd930
Make the testsuite pass on Windows
...
Thought it still requires `sh` and a few Unix tools
2017-09-22 01:59:40 +01:00
Jeremie Dimino
af5208416f
Simplify overrides in the bootstrap path
...
- vendored libraries are replaced by files in `vendor/boot`
- files named `XXX.boot.EXT` replace their `XXX.EXT` equivalent
For instance, to build boot.exe, we use `src/glob_lexer.boot.ml`
rather than `src/glob_lexer.ml` (which would be generated from
`src/glob_lexer.mll`).
2017-09-22 01:52:04 +01:00
Jeremie Dimino
059e0dab66
Add an 'accept-corrections' target
...
To copy over all the .corrected files
2017-09-22 01:51:16 +01:00
Jeremie Dimino
aca4cd47d2
Include Makefile.dev in Makefile
...
So that we can define a different default target while developping.
2017-09-22 01:50:59 +01:00
Jeremie Dimino
47d1f74ef0
Explain the difference between copy_files and copy_files#
2017-09-10 02:39:34 +01:00
Jeremie Dimino
e27f7a8368
Update Changelog
2017-09-10 02:36:02 +01:00
François Bobot
cecf0a2aaf
Add (copy_files <glob>) stanza ( #35 )
...
Add (copy_files <glob>) and (copy_files# <glob>) stanzas. These
stanzas setup rules for copying files from a sub-directory to the
current directory.
This provides a reasonable way to support multi-directory
library/executables in jbuilder.
2017-09-10 02:31:07 +01:00
Jeremie Dimino
d55c807d51
Allow to localize the error reported by Path.relative/of_string
...
Since these are often used to parse user input.
2017-09-10 01:26:06 +01:00
Rudi Grinberg
ee63bcafaf
Update CHANGES for 1.0+beta13
2017-09-05 20:51:11 -04:00
Rudi Grinberg
1da474bc4a
Merge branch 'pr/238'
2017-09-05 20:41:19 -04:00
David Allsopp
6a3c51c358
Ensure executables also depend on archive files
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-09-05 19:53:08 -04:00
Rudi Grinberg
a7067f5aa8
Merge pull request #224 from samoht/doc-index
...
Add a toplevel html index to the docs
2017-08-27 15:55:50 -04:00
David Allsopp
da240468d0
Ensure .cmxs depends on archive file
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-08-26 15:06:32 +01:00
David Allsopp
1053d4e65a
Ensure .cmxa files depend on object files
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-08-26 15:05:54 +01:00