Jeremie Dimino
1255bd22fc
typo
2017-06-05 16:33:09 +01:00
Jeremie Dimino
172467a7b6
Fix expansion of ${@}
2017-06-05 16:33:09 +01:00
Jeremie Dimino
e5f27b8ba8
Small improvement
2017-06-05 16:33:09 +01:00
Anil Madhavapeddy
d279e1e25d
docs: remove an extra set of brackets from the `select ... from` ( #121 )
...
Looks like the right syntax is `(select foo from (x -> y) ( -> y))`
from the example use in js_of_ocaml/compiler
2017-06-05 16:16:49 +01:00
Jeremie Dimino
2b70e1930f
Disable all warnings in ml files for mli only modules
2017-06-05 13:43:08 +01:00
Jeremie Dimino
11985e3948
Update the code to talk about scopes
2017-06-05 13:42:13 +01:00
Jeremie Dimino
2be5e593d6
rework the documentation of scopes
2017-06-05 12:33:45 +01:00
Jeremie Dimino
a392b59fcd
copy-and-add-line-directive --> copy#
2017-06-05 12:11:39 +01:00
David Allsopp
7ec081419c
Don't pass -g to cl; it doesn't like it! ( #120 )
...
The Microsoft C compiler doesn't recognise -g. For now, easier just not
to compile with any debugging information on MSVC.
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-06-05 11:40:27 +01:00
Jeremie Dimino
624b32b241
Update changelog
2017-06-02 19:05:14 +01:00
Jeremie Dimino
a677a6077e
Add a note about byte-code executables ( #108 )
2017-06-02 18:54:45 +01:00
Jeremie Dimino
65dfec6a41
Update roadmap
2017-06-02 18:29:31 +01:00
Jeremie Dimino
f713c7ab98
Temporarily remove (foreach ...)
...
Currently (foreach ...) is too general and variables can be used
anywhere inside S-expressions.
We need to sort out how we are going to handle meta-programming first
as this might impact how we implement (foreach ...).
In any case, it's better not to have it in 1.0.0.
2017-06-02 18:26:13 +01:00
Jeremie Dimino
9eb215055e
Remove the use of (foreach ...) in doc/jbuild
2017-06-02 18:25:20 +01:00
Jeremie Dimino
a7446ec7d3
per_file --> per_module
2017-06-02 17:58:20 +01:00
Jeremie Dimino
1a8fc057f4
Remove a few unused things
2017-06-02 16:27:05 +01:00
Jeremie Dimino
d8be1aa894
Add jbuild.mli
2017-06-02 15:00:50 +01:00
Jeremie Dimino
b74544919a
jbuild_types.ml --> jbuild.ml
2017-06-02 14:32:05 +01:00
Jeremie Dimino
dc43906114
Fix link
2017-06-02 13:55:11 +01:00
Jeremie Dimino
b546af25c4
Convert a few files to markdown
...
Markdown works better with github
2017-06-02 13:54:23 +01:00
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