Jeremie Dimino
fd76d7b9a9
Remove (ml_of_mli ...) and (re_of_rei ...)
...
Instead make jbuilder print the rule to do the same in the warning
message. The rule is not that big. Also add a note about mli only
modules in the "Known issues" section of the README.
This avoids polluting the jbuild specification and is still a
reasonable solution until someone implements proper support for mli
only modules in the compiler.
2017-06-02 13:17:28 +01:00
Jeremie Dimino
7dc30d1184
Document `jbuilder subst` in the manual
2017-06-02 11:59:14 +01:00
Anton Bachin
e3d879dbd8
Fix some typos in command option docs ( #117 )
2017-06-02 10:51:32 +01:00
Jeremie Dimino
29e9b37c61
Implement re_of_rei
2017-06-01 17:07:06 +01:00
Jeremie Dimino
5e06daa5b2
Rename (do ...) to (rule ...)
2017-06-01 16:53:55 +01:00
Jeremie Dimino
543354c070
Fix #115
2017-06-01 16:34:04 +01:00
Jeremie Dimino
0aaf9ef174
Update changelog
2017-06-01 16:02:38 +01:00
Rudi Grinberg
f98072deb7
Doc tweaks ( #112 )
...
* Fix a link and some typos
* Fix some crappy formatting introduced by the pandoc conversion.
* Use more subheadings rather than points.
2017-06-01 16:02:29 +01:00
Jeremie Dimino
827aac0e43
Fix doc for (preprocess (per_file ...))
2017-06-01 11:19:59 +01:00
Jeremie Dimino
52df4a4af3
remove unused code
2017-05-31 17:19:43 +01:00
Jeremie Dimino
1cebba4bd7
Be slightly more clever when scanning the stanzas to generate install files
...
Instead of doing many List.filter, do one String_map.of_alist_multi
2017-05-31 17:08:32 +01:00
Jeremie Dimino
a52c8a4cd7
Add location to a few errors
2017-05-31 16:49:54 +01:00
Jeremie Dimino
f210b32fd0
Improve the behavior of "jbuilder exec" on Windows
2017-05-31 14:41:45 +01:00
Jeremie Dimino
f18afbf8aa
Fix jbuilder exec for windows
2017-05-31 11:28:39 +01:00
Jeremie Dimino
ad817e7a34
Fixes
2017-05-31 11:24:27 +01:00
Jeremie Dimino
1c8ffaa3aa
Check that no targets are generated outside of the current dir
2017-05-31 10:34:17 +01:00
Jeremie Dimino
745e58039b
Fix expect tests
2017-05-31 10:25:19 +01:00
Jeremie Dimino
92f0b7daaa
Fix test
2017-05-31 10:20:33 +01:00
Jeremie Dimino
373e6c2524
Allow ${...:...} for in (do ...) and add more checks
...
Check that targets written by the user are a superset of inferred
targets.
2017-05-31 10:15:32 +01:00
Jeremie Dimino
81e6ebd09b
Simplify inference
2017-05-30 17:39:23 +01:00
Jeremie Dimino
acd1e3e571
Do not fail immediately when expanding actions and a program isn't found
2017-05-30 17:35:49 +01:00
Jeremie Dimino
419df111bf
Update doc
2017-05-30 17:10:50 +01:00
Jeremie Dimino
4e7cb253e1
Add support for reading files from actions
...
- ${read:<filename>} -> expand to the contents of the file
- ${read-lines:<filename>} -> expand to the list of lines in the file
- ${read-strings:<filename> -> expand to the list of lines in the file,
unescaped using OCaml escaping rules
Generalize ${!...} form
2017-05-30 17:02:45 +01:00
Jeremie Dimino
5167dd2f16
Document the (<file> as <destination>) syntax
2017-05-30 12:27:20 +01:00
Jeremie Dimino
a8a43e4b22
Add ${!^} and ${!@} and document them
2017-05-29 19:12:37 +01:00
Jeremie Dimino
3241026fff
Update doc
2017-05-29 18:55:39 +01:00
Jeremie Dimino
116769724f
Allow to use ${^} in actions in conjunction with (glob_files ...) and (file_recursively_in ...)
2017-05-29 18:53:54 +01:00
Thomas Refis
a5af8efa0a
Revert "Only build the toplevel module for wrapped libraries with odoc"
...
odoc is not ready for that as it turns out.
This reverts commit 5bd391e224
.
2017-05-29 15:49:29 +01:00
Jeremie Dimino
5bd391e224
Only build the toplevel module for wrapped libraries with odoc
2017-05-29 14:52:20 +01:00
Jeremie Dimino
1d3341ed28
Add a (mkdir ...) action
2017-05-29 14:51:46 +01:00
Jeremie Dimino
65a54f405b
Add an example to build a toplevel
2017-05-29 14:31:36 +01:00
Jeremie Dimino
85ae1c75e4
Hack for latest odoc
2017-05-29 14:28:07 +01:00
Jeremie Dimino
65150b4166
Add -debug-backtrace
2017-05-29 14:18:07 +01:00
Jeremie Dimino
9f8803af67
Add (modes ...) for executables
2017-05-29 14:18:07 +01:00
Thomas Refis
b52d778d4c
Fix .merlin generation: add all workspaces projects to merlin's source path
...
(otherwise "locate" doesn't work)
2017-05-29 13:22:24 +01:00
Jeremie Dimino
df3ac59d72
Clarify availability of native compilation
2017-05-29 13:18:55 +01:00
Jeremie Dimino
c73b1f1fe3
Add a --no-buffer option
...
Following #107
2017-05-29 10:57:04 +01:00
Jeremie Dimino
9dda44d65d
Add a comment in the jbuild of the hello_world example
2017-05-29 10:32:36 +01:00
Jeremie Dimino
3d3b10d6a7
executables --> executable in the quick start
2017-05-29 10:31:42 +01:00
Jeremie Dimino
052dda3177
Add a comment about jbulder and findlib predicates
...
CLoses #96
2017-05-29 10:26:37 +01:00
Jeremie Dimino
82ecbcf64a
Update the doc
2017-05-29 10:05:04 +01:00
Jeremie Dimino
5372ebdea1
Remove jane_street version
...
It's not used. We'll re-add it if really necessary.
2017-05-29 09:54:56 +01:00
David Allsopp
9e81f887de
Document the comment symbol in jbuild files
2017-05-29 08:54:50 +01:00
Hezekiah M. Carty
3d194c5276
Minor typos
2017-05-29 08:51:44 +01:00
Jérémie Dimino
f1ebc0ed7d
Add (mli-to-ml ...) as a hack for mli only modules
2017-05-29 07:51:52 +01:00
Jérémie Dimino
c6cc8204bf
Add (foreach ...) form
2017-05-29 07:51:52 +01:00
Jérémie Dimino
1e41feaf8a
Add simplified version of rules
2017-05-29 07:51:52 +01:00
Jérémie Dimino
7c9dcbf284
Added deps/targets inference
2017-05-29 07:51:52 +01:00
Jérémie Dimino
b9c9b19f0a
Refactoring
2017-05-29 07:51:52 +01:00
Jérémie Dimino
73a4cef9f8
Move the context out of Action.t
...
And add it to the rule. It is never dynamic, so it is simpler this
way, we just set it in Super_context.add_rule.
2017-05-29 07:51:52 +01:00