Commit Graph

645 Commits

Author SHA1 Message Date
Ramana Venkata 5829bdb2fc Use https links for manual (#186) 2017-07-14 12:19:55 +01:00
David Allsopp 7be14ac30b Build CI without opam 2017-07-07 12:27:31 +02:00
François Bobot 9935c838b3 Use lowercase_ascii 2017-07-07 12:27:31 +02:00
zapashcanon e71ad02f02 Fix typo 2017-07-01 20:10:47 -04:00
Rudi Grinberg 97a855524c Remove duplicate check for merlin context (#175)
This check is done in add_rules and dot_merlin. Only of those checks is
necessary. The check in dot_merlin is removed.
2017-06-30 12:03:11 +01:00
Gabriel Scherer 06a179df99 fix README.md
Two things:
1.  `[relative-path]()` does not work with Github markdown (see: [src/]()), you have to write `[relative-path](relative-path)]` (see: [src/](src/)). (`[relative-path][]` and `<relative-path>` don't work either).
2. places using the org-mode syntax `=foo=` where fixed to use backticks instead
2017-06-29 05:24:57 -04:00
Jeremie Dimino aed36a76dd Quote a few paths in error messages when necessary 2017-06-26 13:33:01 +01:00
François Bobot 52afe84c83 Fix some warning 50 for 4.02.3 (#161)
Warning 50: unattached documentation comment (ignored)
2017-06-26 10:28:37 +01:00
Jeremie Dimino c0200c3baa Add Alias.of_file and Alias.name_of_file 2017-06-26 09:53:37 +01:00
Rudi Grinberg bdb542ea29 Merge pull request #156 from aantron/typos
Fix typos
2017-06-17 21:58:55 -04:00
Anton Bachin 63b63eb0ac Fix typos 2017-06-17 12:06:58 -04:00
David Allsopp 832bd631c2 Ignore Vim swapfiles 2017-06-16 12:15:15 +02:00
Rudi Grinberg 005b1de15d Merge pull request #155 from tmcgilchrist/patch-1
Spelling
2017-06-16 01:14:30 -04:00
Tim McGilchrist a9f7166a2a Spelling 2017-06-16 14:20:06 +10:00
Jeremie Dimino bf5f366e96 Typo 2017-06-15 17:39:25 +01:00
Jeremie Dimino 34df3d5fd9 Fix check for dependency on the lib interface module 2017-06-15 14:17:54 +01:00
David Allsopp 574866af2e Correct detected value for ocaml on Windows 2017-06-15 12:14:56 +02:00
David Allsopp d809a3362a Prevent Future.Temp.destroy from failing 2017-06-15 12:14:56 +02:00
David Allsopp bf3fa0831d Add Sys.force_remove
Sys.force_remove is Sys.remove, except on Windows, where it will remove
the "read-only" attribute and re-try a failed Sys.remove
2017-06-15 12:14:56 +02:00
Darin Morrison 8dd66ed3d8 Fix link to example directory (#143) 2017-06-13 17:07:36 +01:00
Jeremie Dimino 241f1204cb Really fix #137 2017-06-09 15:18:27 +01:00
Jeremie Dimino fff5763a53 Fix #137: fix hint when all missing libs are optional 2017-06-09 14:49:08 +01:00
Jeremie Dimino daeb40b087 Add SCOPE_ROOT
While analysing packages using jbuilder, I found that some packages
use ${ROOT} to refer to the root of the project. However, this doesn't
work as ${ROOT} depends on the workspace configuration.

Add ${SCOPE_ROOT} to make this easier for projects with a lot of
nested sub-directories.
2017-06-09 12:45:05 +01:00
Jeremie Dimino 6b07ee2e3c Fix build of tests with --dev 2017-06-09 12:45:05 +01:00
Jeremie Dimino c1f00c95ad Use --dev for running tests
Otherwise we always have to recompile jbuilder for running tests.
2017-06-09 12:45:05 +01:00
Jeremie Dimino 572774490a Report an error for invalid dependency between modules in wrapped libraries
Report an error when in a wrapped library, a module that is not the
toplevel module depends on the toplevel module. This doesn't make as
such a module would in theory be inaccessible from the outside

If this causes compilation failures of released packages, we'll need
to turn this into a warning.
2017-06-09 12:45:05 +01:00
Gabriel Scherer 017e0abbe8 fix typo 2017-06-09 08:52:21 +01:00
Jeremie Dimino 3983d669db Add a test for inferred rules 2017-06-08 18:46:25 +01:00
Jeremie Dimino b63718ada0 Fix error message about too many opam files 2017-06-08 14:11:31 +01:00
Jeremie Dimino 0a3abd96a1 Fix expansion of ROOT 2017-06-08 11:42:14 +01:00
Jeremie Dimino 12f458eaad Update changelog 2017-06-08 11:36:44 +01:00
Jeremie Dimino 3e0c9bf99e Update roadmap 2017-06-08 11:35:15 +01:00
Jeremie Dimino eb7b5e2be4 Help users to not use non-future proof features in jbuild files 2017-06-08 11:33:59 +01:00
Jeremie Dimino c2f04a4963 Refactor action processing and avoid extra work 2017-06-08 11:26:21 +01:00
Jeremie Dimino 43c2710c43 Fix late expansion or ${ROOT} 2017-06-08 10:56:59 +01:00
Jeremie Dimino 06ab34981c Capture locations of string-with-vars generated inside jbuilder 2017-06-08 10:54:46 +01:00
Jeremie Dimino e4300e7b51 Make (run prog ...) behave the same as (run ${bin:prog} ...)
This just seems like a better default
2017-06-08 10:37:25 +01:00
Jeremie Dimino 5307a92ddc Do not allow (chdir ...) with dynamic directories
For instance (chdir ${read:foo} ...) is not allowed. This doesn't seem
really useful since we couldn't express the targets anyway and
supporting it complicate the code.
2017-06-08 10:03:11 +01:00
Jeremie Dimino b80f4c9274 Update changelog 2017-06-08 10:00:44 +01:00
Jérémie Dimino 2e2a707d4b Automatically install executable with extension `.exe` on Windows (#123)
- Automatically add exe extension when installing executables
- Look for local binaries with .exe extension on Windows
2017-06-08 09:59:43 +01:00
David Allsopp 1a64983402 Run CI tests with --dev 2017-06-07 15:50:41 +01:00
David Allsopp 843e5d864d Minor typo in ml_of_mli message 2017-06-07 14:15:30 +01:00
Jeremie Dimino 63ef644766 Fix #129 2017-06-07 11:15:15 +01:00
Jeremie Dimino 0352ab80a4 Update changelog 2017-06-07 10:52:14 +01:00
Jeremie Dimino 87f009a881 f --> map_cclibs + make the code build with --dev 2017-06-07 10:52:06 +01:00
David Allsopp bb527b1e38 Further MSVC C library import hacking (#119) (#127) 2017-06-07 10:49:15 +01:00
Jeremie Dimino 0e4f2dcd15 Handle dynamic targets in user actions 2017-06-06 15:42:10 +01:00
Jeremie Dimino 0cea06b5d2 Fix #125 2017-06-06 14:59:21 +01:00
Jeremie Dimino 6a8a440c63 Wrap c_library_flags with -ldopt for ocamlmklib with msvc
This should fix #119
2017-06-06 10:55:38 +01:00
Jeremie Dimino e51002d1b7 Restrict what one can do with the OCaml syntax
Until we decide in what direction it should go.
2017-06-06 10:23:22 +01:00