Rudi Grinberg
2f8d95cdeb
Merge pull request #373 from rgrinberg/reason-preprocess-fix
...
Reason preprocess fix
2017-12-18 23:25:10 +08:00
Jeremie Dimino
f154dc2122
Update changelog
2017-12-18 13:31:21 +00:00
Jeremie Dimino
d661f74c46
Skip 4.02.3 for the multiple-private-libs test
2017-12-18 13:30:49 +00:00
Jeremie Dimino
18d8cb847d
Fix the test added in the previous commit
2017-12-18 13:30:49 +00:00
Jeremie Dimino
f534387ef6
Add a test exposing a name clash
...
When several private libraries have the same name, jbuilder crashes.
2017-12-18 13:30:49 +00:00
Rudi Grinberg
4570020ce7
Fix reason preprocessing
...
and previously failed test
2017-12-18 20:52:52 +08:00
Rudi Grinberg
91e96316b2
Add failing reason for reason preprocessing
2017-12-18 20:51:16 +08:00
Rudi Grinberg
8d0efa347c
Merge pull request #364 from rgrinberg/update-opam-file-tests
...
Update opam file for tests
2017-12-17 22:56:14 +08:00
Rudi Grinberg
5b0ef635ac
Update opam file for tests
...
Add test commands and test dependencies
2017-12-17 19:15:33 +08:00
Rudi Grinberg
141cd1da4a
Merge pull request #367 from aantron/odoc-no-target-specific-code
...
odoc: don't generate raw HTML and level 1 headings
2017-12-17 17:53:14 +08:00
Anton Bachin
eb05f4f643
Place module list on its own line
...
The markup emitted by Jbuilder treated module lists as inline elements
that can appear inside a line. However, neither ocamldoc nor odoc render
module lists as inline elements. They are instead block elements, that
are laid out vertically, like lists or paragraphs. Correspondingly, odoc
now rejects inline module list markup.
A side effect of the (rejected) misconception is that there was a stray
period appearing on its own line in every module list generated by
Jbuilder. This is now fixed.
2017-12-16 14:27:36 -06:00
Anton Bachin
0aa6faa145
odoc: don't generate raw HTML and level 1 headings
...
This page generation code really should be moved to odoc, however.
2017-12-16 14:07:51 -06:00
Rudi Grinberg
b7dd41fc6e
Add blackbox test for select construct ( #363 )
2017-12-13 14:34:35 +08:00
Rudi Grinberg
2cab60b150
Update changelog ( #361 )
2017-12-12 23:43:29 +08:00
Xavier Clerc
2be876cb49
Availability of "num" depends on the OCaml version ( #358 )
2017-12-11 13:05:20 +00:00
Rudi Grinberg
a265889400
Mention ppxfind in docs ( #357 )
2017-12-11 19:40:54 +08:00
Rudi Grinberg
058643608c
Jbuilder exec rebuilt if possible option ( #345 )
...
Make jbuilder exec build its target
Jbuilder will now attempt to rebuild the target before executing it. This option can be turned off by passing in --no-build
2017-12-11 18:23:07 +08:00
Rudi Grinberg
e373e67c12
Merge pull request #352 from rgrinberg/odoc-tests
...
Odoc tests
2017-12-11 14:50:29 +08:00
Rudi Grinberg
1544e26fdc
Add odoc as a test dependency for travis
2017-12-11 14:08:38 +08:00
Rudi Grinberg
d53f26c841
Add odoc generation tests
2017-12-11 14:08:06 +08:00
Rudi Grinberg
451a6d34af
Add support for conditional execution to cram
...
We'd like the ability to skip tests on certain versions of OCaml that don't
support what is being tested.
2017-12-11 14:07:09 +08:00
Rudi Grinberg
039c7043b9
Merge pull request #356 from rgrinberg/reason-tests
...
Reason tests
2017-12-11 14:05:23 +08:00
Rudi Grinberg
0e9c9b0cd5
Add reason to tests
2017-12-11 01:38:49 +08:00
Rudi Grinberg
0863c1d941
Reason black box tests
...
Test the following scenarios:
* reason source, reason interface
* reason source, ocaml interface
* ocaml source, reason interface
* preprocessed reason sources
* rei files are included in the .install file
2017-12-10 23:25:21 +08:00
Rudi Grinberg
4bc5189d5a
Merge pull request #349 from rgrinberg/install-file-test-suite
...
black box tests for .install file generation
2017-12-06 15:49:23 +08:00
Rudi Grinberg
5647ae83b0
black box tests for .install file generation
2017-12-05 20:37:46 +08:00
François Bobot
b957e7d2dd
Merge pull request #347 from rgrinberg/ocaml-syntax-tests
...
Simple test for the ocaml syntax for jbuild files
2017-12-04 10:12:16 +01:00
Rudi Grinberg
c815ea6f20
Simple test for the ocaml syntax for jbuild files
2017-12-03 20:29:44 +08:00
Rudi Grinberg
a0c2ed942b
Merge pull request #343 from rgrinberg/fix-ppx-recompile
...
Fix incremental compilation with ppx's
2017-12-02 21:27:04 +08:00
François Bobot
13fed1f1ce
Merge pull request #339 from rgrinberg/fix-jbuilder-exec-utop
...
Fix jbuilder exec from sub dirs & utop
2017-12-01 13:41:21 +01:00
Rudi Grinberg
9983b3e7bd
Add tests for meta generation ( #344 )
...
Try to test as many aspects as possible: dependencies, synopsis, ppx, etc.
2017-11-29 16:22:37 +08:00
Rudi Grinberg
785beeafac
Add option to force running tests ( #320 )
...
Option to force running tests
The mechanism allows for forcing any alias, but only forcing tests is exposed to the user. Aliases are forced by deleting all the alias files that belong to a particular alias. The option for forcing tests is called --force.
2017-11-28 19:03:22 +08:00
Rudi Grinberg
6f498db212
Fix incremental compilation with ppx's
...
Same fix as 6a3c51c358
but also for ppx's
2017-11-27 21:14:24 +08:00
Jeremie Dimino
68ddb1251d
Add link to introduction video
2017-11-26 19:12:23 +00:00
Rudi Grinberg
7a30bbf8ea
Use absolute paths for lib paths in utop
...
This makes $ jbuilder utop usable from sub directories
2017-11-25 23:25:26 +08:00
Jeremie Dimino
ce0ecaf9e0
Restore cwd before execve
2017-11-25 23:25:13 +08:00
François Bobot
511801c0d7
Merge pull request #337 from Chris00/meta
...
Escape double quotes for META field values
2017-11-24 16:24:09 +01:00
Christophe Troestler
d8a39b66de
Move escape_double_quote to Import.String & refactor
2017-11-24 16:08:34 +01:00
Christophe Troestler
1e280e56d1
Escape double quotes for META field values
...
Fixes https://github.com/janestreet/jbuilder/issues/331
2017-11-23 19:25:45 +01:00
Christophe Troestler
619d64d101
Quote programs in the bootstrap script
...
Fixes https://github.com/janestreet/jbuilder/issues/322
2017-11-15 20:23:01 +00:00
David Allsopp
9e1aeba5aa
Update homebrew before installing aspcud
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-11-15 14:50:34 +00:00
David Allsopp
5450e53ff5
Use a specific version number for the CI pin
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-11-15 14:50:34 +00:00
David Allsopp
5a2c5af811
Ensure opam gets updated occasionally
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-11-15 14:50:34 +00:00
David Allsopp
1ccf71904e
Ensure jbuilder pin refreshed in CI builds
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-11-15 14:50:34 +00:00
David Allsopp
d486c9c2c6
Update test matrix
...
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-11-15 14:50:34 +00:00
David Allsopp
1dff4e5b12
Update AppVeyor to OCaml 4.06.0
...
Fixes #324 .
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-11-15 13:53:38 +00:00
Rudi Grinberg
5103035bef
Pass context when executing actions ( #329 )
2017-11-14 23:36:12 +08:00
Rudi Grinberg
0c2228e7bc
Refactor jbuilder exec path handling ( #327 )
...
There's no need for runcwd as initial_cwd is already defined somewhere. Add
Filename.analyze_program_name function to make the clearer.
2017-11-14 15:19:58 +08:00
Spiros Eliopoulos
7383b0b006
docs: add some docstrings in various places ( #252 )
...
* docs: update some documentation in the Build module
* docs: document what [Scope.resolve] does
* docs: add a toplevel docstring to the Alias module
* docs: document (or not) the bootstrap function
* docs: lightly document the bootstrap module
* fix ignore comment
2017-11-09 20:41:52 +08:00
Rudi Grinberg
ea7fa8541b
Fix off by 1 error in String.drop_prefix ( #319 )
2017-11-09 12:45:53 +08:00