Jeremie Dimino
6e64156913
Add target support
...
* Create targets from findlib toolchains by reading findlib configs
* Define targets inside workspace files
* Set cross compilation targets with -x argument
2018-01-01 22:34:41 +08:00
Jeremie Dimino
afb602d7ef
Add add_install_prefix function
...
To control installation prefix
2018-01-01 21:48:25 +08:00
Jeremie Dimino
86dc606fef
Add Utils.install_file
...
Determines the .install depending on the toolchain for x compilation
2018-01-01 21:48:25 +08:00
Jeremie Dimino
5d451e7034
Add cstr_record
2018-01-01 21:48:25 +08:00
Jeremie Dimino
e06c060121
Add module to parse findlib config
...
Necessary to read toolchains
2018-01-01 21:48:25 +08:00
Rudi Grinberg
1a8c328b2d
Make is_directory work when dir doesn't exist
2018-01-01 21:48:25 +08:00
Rudi Grinberg
829b85ec44
Add Path.drop_prefix
2018-01-01 21:48:25 +08:00
Rudi Grinberg
1de1ced82b
Merge pull request #388 from rgrinberg/sub-lib-sub-dir
...
Add test for sub library in sub dir
2017-12-28 16:38:35 +08:00
Rudi Grinberg
6422cd606d
Add test for sub library in sub dir
...
Makes sure that that directory option is used appropriately in the META
2017-12-28 16:03:44 +08:00
Rudi Grinberg
dfe0001b5a
Simple stubs test
...
C stub library and executable that will run it
2017-12-23 11:29:41 +08:00
Rudi Grinberg
7d8ca23b62
Test install_c_headers stanza
2017-12-23 11:25:05 +08:00
Rudi Grinberg
5e890ccd67
Merge pull request #382 from rgrinberg/no-empty-modules
...
Add dummy module to make copy_files test pass on 4.02.3
2017-12-23 11:03:53 +08:00
François Bobot
9ec6b22066
Merge pull request #379 from janestreet/usexp
...
Replace the S-expression Parser by Usexp
2017-12-22 14:56:22 +01:00
Rudi Grinberg
7363c772aa
Add dummy module to make copy_files test pass on 4.02.3
2017-12-22 21:18:17 +08:00
Rudi Grinberg
35fccd8e4c
Merge pull request #383 from rgrinberg/utop-tests
...
Utop tests
2017-12-22 21:14:39 +08:00
Rudi Grinberg
01a21f91be
Add utop as a test dependency
2017-12-22 19:32:51 +08:00
Rudi Grinberg
a3806d7e3b
Add utop tests
2017-12-22 19:31:25 +08:00
Rudi Grinberg
f365e8f157
Improve copy_files test for c files to make sure source is tracked
2017-12-22 08:16:09 +01:00
David Allsopp
5901d7dee3
Update copy_files blackbox test to include C
...
Tests that the the directive emits #line instead of #n.
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-12-22 08:16:09 +01:00
David Allsopp
9d3c0b649c
Fix copy# for Microsoft C compiler
...
Microsoft CL doesn't support #n and requires the more strictly correct
directive #line
Signed-off-by: David Allsopp <david.allsopp@metastack.com>
2017-12-22 08:16:09 +01:00
Rudi Grinberg
7b6db8a3c2
Merge pull request #377 from rgrinberg/reason-test-changes
...
Reason test changes
2017-12-22 11:20:45 +08:00
Jeremie Dimino
3e525d8eec
Vendored usexp and switch to it
2017-12-21 13:13:47 +00:00
Rudi Grinberg
2025f1db58
Improve reason tests
...
Test that modules are actually built by running their code.
2017-12-21 20:20:43 +08:00
Rudi Grinberg
3ac73edb42
move copy-sources for reason tests to own dir
...
So that the originals aren't used accidentally
2017-12-20 17:23:26 +07:00
Rudi Grinberg
bbb6108924
Fix Path.descendent
...
It was broken for local paths with equal length
2017-12-20 09:06:12 +00:00
Rudi Grinberg
9e4390ddc4
Add tests Path.descendent
...
Some of them are failing because it it doesn't work when the paths are equal or
have the same length
2017-12-20 09:06:12 +00:00
Rudi Grinberg
feaca3058b
Merge pull request #374 from rgrinberg/ppx-rewriter-tests
...
Ppx rewriter tests
2017-12-20 12:27:07 +07:00
Rudi Grinberg
347c3d7612
disable ppx_runner test with custom omp runner args
2017-12-19 19:05:37 +07:00
Rudi Grinberg
fad4671fe5
Add ppx_driver to travis
2017-12-19 19:00:50 +07:00
Rudi Grinberg
1793827d0b
Tests for running ppx rewriters
...
Testing changing and interacting with drivers by passing arguments.
2017-12-19 19:00:50 +07:00
Rudi Grinberg
3cae475486
Add some reason tests wrt to ppx preprocessing ( #375 )
...
Add some reason tests wrt to ppx preprocessing
2017-12-19 19:49:06 +08:00
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