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
eb7b5e2be4
Help users to not use non-future proof features in jbuild files
2017-06-08 11:33:59 +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
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
Jeremie Dimino
0cea06b5d2
Fix #125
2017-06-06 14:59:21 +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
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
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
Jeremie Dimino
a677a6077e
Add a note about byte-code executables ( #108 )
2017-06-02 18:54:45 +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
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
Jeremie Dimino
5e06daa5b2
Rename (do ...) to (rule ...)
2017-06-01 16:53:55 +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
1c8ffaa3aa
Check that no targets are generated outside of the current dir
2017-05-31 10:34:17 +01:00
Jeremie Dimino
419df111bf
Update doc
2017-05-30 17:10:50 +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
65a54f405b
Add an example to build a toplevel
2017-05-29 14:31:36 +01:00
Jeremie Dimino
9f8803af67
Add (modes ...) for executables
2017-05-29 14:18:07 +01:00
Jeremie Dimino
df3ac59d72
Clarify availability of native compilation
2017-05-29 13:18:55 +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
Markus Mottl
e63a6e4006
Command typo
2017-05-27 20:18:19 -04:00
Jeremie Dimino
15491fd599
Document API doc
2017-05-26 18:34:49 +01:00
Richard Davison
91d03de221
Add clean subcommand ( #89 )
2017-05-26 11:32:32 +01:00
Marek Kubica
3633d5b012
Fix small typo in quickstart
2017-05-24 14:38:10 +01:00
Yaron Minsky
f994c4690e
Update quick-start.rst
2017-05-22 11:58:58 +01:00
Yaron Minsky
4dada0e91d
Update quick-start.rst
2017-05-22 11:58:58 +01:00
Yaron Minsky
ad9285493b
Add an example showing how to use ppx_jane
2017-05-22 11:58:58 +01:00
Yaron Minsky
b8acabee43
Fix language choice for example in docs.
2017-05-21 14:45:06 -04:00
Jeremie Dimino
c6dac87ee9
Ignore all directories starting with '.' pr '_'
2017-05-19 12:36:06 +01:00
Jérémie Dimino
fe30935fa2
Rename 'extract-makefile' to 'rules'
2017-05-19 08:27:21 +01:00
Rudi Grinberg
1309a92ec5
Fix links in rst docs
...
Were not converted correctly by pandoc so they must be fixed manually
2017-05-19 08:25:46 +01:00
Jeremie Dimino
d219020b2f
added jbuilder extract-makefile
2017-05-18 19:05:01 +01:00
Louis Roché
f57c084f4b
fix typo in quick start documentation ( #79 )
2017-05-17 08:12:58 +01:00
Jeremie Dimino
d0be25cd88
manual.org and quick-start.org no longer exist
2017-05-15 17:14:10 +01:00
Rudi Grinberg
56093df13e
Read The Docs
...
Port manual to RST to make it usable on readthedocs.
conf.py was only there to make it easy to preview changes if you have sphinx
installed.
2017-05-15 11:53:55 -04:00
Jeremie Dimino
15f43615c5
Add a note about % in user rules
...
Related to #73
2017-05-11 16:07:59 +01:00