Wilfred Hughes
ca424fb3a8
Fix typo
...
Signed-off-by: Wilfred Hughes <me@wilfred.me.uk>
2018-07-01 15:27:18 +01:00
Jeremie Dimino
744430b684
Update doc
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-07-01 01:46:32 +07:00
Jérémie Dimino
7e79e2870d
Make the set language more future proof ( #930 )
...
- forbid list starting by an atom not starting with - or :
- allow to avoid the toplevel parentheses in dune files
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-29 21:11:47 +01:00
Jérémie Dimino
793a0b7c17
Fix the build on 4.02 by emulating -no-keep-locs ( #927 )
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-29 07:40:02 +01:00
Jeremie Dimino
2982567639
Make the default build profile be dev
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-28 11:23:10 +01:00
Rudi Grinberg
ec14661a01
Update tests for new variables syntax
...
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2018-06-28 09:48:35 +06:30
Rudi Grinberg
2257a2057b
Add templates to Usexp.t directly
...
Templates are now directly in dune's sexp language. The syntax is change to %{}
from ${} and $(). Old templates are still supported in jbuild files.
Other changes in this PR:
* Removal of ! patterns in variables
* Strict expansion for templates in dune files. Missing vars are now an error
* Using the correct syntax to parse included files in dune
* Improvements to the tests
* Syntax aware pretty printing of sexps. Now you must pass Dune vs. Jbuild to
print sexps
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2018-06-28 09:46:10 +06:30
Jérémie Dimino
0f68e56f64
Remove most useless parentheses from the syntax ( #915 )
2018-06-27 16:38:05 +01:00
Rudi Grinberg
e53f838ceb
Merge branch 'master' into migration-manual
2018-06-25 15:58:39 +06:30
Rudi Grinberg
f36fd54017
Add migration page to manual
...
This includes the old migration page + a simple migration check list
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2018-06-25 15:07:28 +06:30
Jeremie Dimino
f46a6aae53
Make (diff ...) work on Windows
...
- make (diff ...) trailing cr on Win32
- add a (cmp ...) action for comparing binary files
- add a test and run it in AppVeyor
Fix #844
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-25 08:14:27 +01:00
Jérémie Dimino
0eb302252e
Improve the syntax of ppx rewriters and flags ( #910 )
...
- old syntax: (pps (ppx1 -arg1 ppx2 (-foo x)))
- new syntax: (pps ppx1 -arg ppx2 -- -foo x)
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-25 07:56:35 +01:00
Jérémie Dimino
94c921f9c4
Rename files_recursively_in to source_tree ( #899 )
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-20 10:45:54 +01:00
Ryan Slade
b53ec85819
Fix typo ( #890 )
...
Signed-off-by: Ryan Slade <ryanslade@gmail.com>
2018-06-18 11:40:14 +01:00
Etienne Millon
96b01c569c
Add link_deps field
...
In some cases, the linking step requires some dependencies. For example,
passing a version script to the linker. The new `(link_deps)` field
uses the dependency DSL already used in other places.
Closes #852
Signed-off-by: Etienne Millon <etienne@cryptosense.com>
2018-06-13 14:38:47 +02:00
Jérémie Dimino
3cf2a0dab1
Add dune-project files to dune tests and remove old jbuild_version stanzas ( #875 )
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-12 09:49:39 +01:00
Rudi Grinberg
17b04584b2
Give menhir its own section in the docs
...
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2018-06-07 17:57:10 +07:00
Jeremie Dimino
b35fbbd7b2
Abstract the ppx driver system
...
- remove hard-coded knowledge of ocaml-migrate-parsetree and ppx_driver
- get the exact driver parameters directly from the driver itself
Signed-off-by: Jeremie Dimino <jdimino@janestreet.com>
2018-06-05 19:19:10 +01:00
Jeremie Dimino
2d1ca05e67
Update the documentation of S-expressions
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-06-04 13:57:27 +01:00
Rudi Grinberg
e1cc944a93
Add an entry for custom build directories to the manual
...
Signed-off-by: Rudi Grinberg <rudi.grinberg@gmail.com>
2018-06-02 18:30:06 +07:00
Etienne Millon
4ab291d0b8
Fix sphinx warnings ( #835 )
...
* Fix markup
* Fix links
* Fix references
* Fix leading space
* Add missing code markup
Signed-off-by: Etienne Millon <etienne@cryptosense.com>
2018-06-01 14:24:35 +01:00
Etienne Millon
98b3e07efa
Add an example for jbuilder utop
...
This clarifies the use case. This replaces the emacs flag with something
more likely to be used in a shell session: implicit bindings.
Closes #727
Signed-off-by: Etienne Millon <etienne@cryptosense.com>
2018-05-29 13:24:24 +02:00
Jérémie Dimino
1860438605
Add a jbuilder transition package ( #796 )
...
Signed-off-by: Jeremie Dimino <jeremie@dimino.org>
2018-05-28 18:19:30 +01:00
Tim Cuthbertson
9265ac87d9
Fix typo
2018-05-21 21:29:18 +10:00
Jeremie Dimino
9fbfc272eb
Fix typo in doc
2018-05-16 17:05:14 +01:00
Jeremie Dimino
ea9e1f94b6
Fix broken link
2018-05-14 12:56:47 +01:00
Jérémie Dimino
bc19e14b35
Add ignored_subdirs stanza ( #767 )
2018-05-12 15:38:22 +02:00
Marc Lasson
0705a6647a
Fix broken links in faq.rst ( #768 )
2018-05-12 11:25:28 +02:00
Jérémie Dimino
4d8ca489be
Add support for environment & build profiles ( #419 )
2018-05-04 16:49:25 +01:00
Jeremie Dimino
dabb77eb09
Rename all jbuild.inc files
2018-05-04 12:26:26 +01:00
Jeremie Dimino
dc0a6d4401
Rename all jbuild files
2018-05-04 12:26:26 +01:00
Tim McGilchrist
4505907ef3
Spelling ( #742 )
...
s/whish/wish
2018-05-03 11:08:33 +01:00
Jeremie Dimino
db91543e3f
Support version stanzas in dune-project files
2018-05-03 11:07:45 +01:00
Jérémie Dimino
325584adfc
Renaming to Dune ( #721 )
...
- install two identical binaries: jbuilder and dune
- rename the man pages to dune-*
- change the name in man pages
- change the name of libraries
- add support for dune-project files and add a dune-project file
- add support for dune-workspace files
- start updating the manual
- update the tests
2018-05-02 12:56:12 +01:00
Christophe Troestler
7e1b521d7b
Add Configurator.V1.write_flags
...
See https://github.com/ocaml/dune/pull/696/files#r181721525
2018-04-17 16:07:38 +02:00
Rudi Grinberg
620bffd21b
Add , for lists
2018-04-12 09:12:56 +07:00
Rudi Grinberg
0d9669f907
Add link to .mli as a stand in for the api docs
2018-04-12 00:05:44 +07:00
Rudi Grinberg
9673d4eaf9
Switch jbuilder in library names
2018-04-11 23:50:23 +07:00
Rudi Grinberg
320154ef87
italicize running
2018-04-11 23:50:16 +07:00
Rudi Grinberg
fb0ac48af2
Documentation for new configurator
2018-04-11 22:14:53 +07:00
Matthieu Dubuget
9aba597f5f
Update documentation.rst ( #656 )
...
Typo
2018-03-27 10:54:09 -04:00
Rudi Grinberg
10ff816faf
Merge pull request #641 from rgrinberg/move-readme-manual
...
Move FAQ & Known Issues to manual
2018-03-21 00:14:17 +08:00
Rudi Grinberg
95a617ec63
Remove old api-doc page
...
And incorporate it into the new documentation page
2018-03-20 23:25:24 +08:00
Rudi Grinberg
67d0c03a54
Move FAQ & Known Issues to manual
...
These sections are valid parts of the manual and just clutter up the current
README
2018-03-20 22:47:36 +08:00
Rudi Grinberg
86f918df71
Clarify about index.mld
...
This isn't odoc specific
2018-03-20 08:22:19 +08:00
Rudi Grinberg
24a0604249
Clarify hand written vs. additional pages
2018-03-20 08:16:30 +08:00
Jeremie Dimino
45fa214314
typo
2018-03-18 19:17:15 -04:00
Rudi Grinberg
0f2cf323df
Fix the title of tests.rst
2018-03-19 03:32:55 +08:00
Jeremie Dimino
f26615e5b3
doc
2018-03-19 01:24:27 +08:00
Rudi Grinberg
73231bf13e
Add documentation documentation
2018-03-18 18:24:40 +08:00