Jeremie Dimino
93d33592c6
Fix Atom.is_valid
2018-03-17 14:23:43 +00:00
Jeremie Dimino
41cdb98e63
Improve sexp tests
2018-03-17 14:23:43 +00:00
Jeremie Dimino
da7874ebdf
Fix Atom.is_valid
2018-03-17 14:23:43 +00:00
Jeremie Dimino
e3f34fab71
Add a test for Usexp.Atom.is_valid
2018-03-17 14:23:43 +00:00
Rudi Grinberg
5a5ba64503
Fix 4.02.3 compat in usexp
...
Do not use Char.equal
2018-03-17 14:23:43 +00:00
Rudi Grinberg
f39b302a8d
Fix Atom definition of Usexp
...
Fix the is_valid function to only validate atoms that don't contain spaces,
parens, comment characters.
2018-03-17 14:23:43 +00:00
Rudi Grinberg
154b405e51
use str as runner dep
2018-03-17 14:23:43 +00:00
Rudi Grinberg
a8ee7bfad5
Add test witnessing generation of backend dune files
...
It shows that jbuilder fails to correctly escape the action field
2018-03-17 14:23:43 +00:00
Rudi Grinberg
9b5ac4060f
Add a map from package names to libraries to super context
...
Will be used for odoc and installation
2018-03-16 13:49:33 +08:00
Rudi Grinberg
bc97444c78
Merge pull request #626 from rgrinberg/doc-pkg
...
Implement Lib.package
2018-03-16 12:42:42 +08:00
Jérémie Dimino
69c5a4a79d
Implement Lib.package
...
Gets the opam package of a library for a public or installed library
2018-03-16 11:11:48 +08:00
Jérémie Dimino
b59dab57da
Include the package in the public status of libraries
2018-03-16 11:11:18 +08:00
Rudi Grinberg
4c69d3e540
Merge pull request #623 from rgrinberg/modify-run-action
...
Change Action to include the context's exec env
2018-03-16 10:57:03 +08:00
Rudi Grinberg
07385a15ed
Remove double extending the env with context's env
2018-03-16 01:45:52 +08:00
Rudi Grinberg
68cf393c5f
Use Bin.path_sep
2018-03-16 01:45:39 +08:00
Rudi Grinberg
2634477def
Change Action to include the context's exec env
2018-03-16 00:44:23 +08:00
Rudi Grinberg
3c7e6adc73
Merge pull request #619 from rgrinberg/install-run-fixes
...
Tweaks to Actions
2018-03-15 19:10:13 +08:00
Rudi Grinberg
db55b4e880
Merge pull request #618 from rgrinberg/scope-encode
...
Move they '@' scope encoding to common module
2018-03-15 19:09:56 +08:00
Rudi Grinberg
348700fff2
Merge pull request #617 from rgrinberg/doc-related-fixes
...
Doc related fixes
2018-03-15 19:03:46 +08:00
Rudi Grinberg
9a1910cf6f
Add context for alias actions
2018-03-15 18:25:21 +08:00
Rudi Grinberg
bd457ea549
Use Env.t over string array in another place
2018-03-15 18:24:41 +08:00
Rudi Grinberg
dea2ac77ca
No optional args for context
2018-03-15 18:24:36 +08:00
Rudi Grinberg
a62e92a0ee
Move they '@' scope encoding to common module
...
This encoding will also be used by odoc so it's best to share it
2018-03-15 14:50:34 +08:00
Rudi Grinberg
25158fc702
Share Ordered_set_lang.Make(String)(String)
2018-03-15 14:25:04 +08:00
Rudi Grinberg
286f93a963
indentation
2018-03-15 14:24:55 +08:00
Rudi Grinberg
74a98b9caa
Fix typo in opam-release target
2018-03-14 23:12:19 +08:00
Rudi Grinberg
5c80f85346
Add Makefile helper for making releases
2018-03-14 23:02:45 +08:00
Rudi Grinberg
08df147d60
Update CHANGELOG
...
add beta18.1 and update beta 19
2018-03-14 21:26:05 +08:00
Jeremie Dimino
8559d2f7ff
Update changelog
2018-03-14 12:37:26 +00:00
Jeremie Dimino
3b1bef8b9c
ocamlX_flags --> ocamlX_cflags
2018-03-14 12:02:56 +00:00
Rudi Grinberg
521a36dcef
Merge pull request #603 from diml/universe
...
Allow to depend on the universe
2018-03-14 13:02:23 +07:00
Rudi Grinberg
28208a1c12
Merge pull request #612 from rgrinberg/rename-result-private-lib
...
Rename the result private library
2018-03-14 12:59:36 +07:00
Rudi Grinberg
48ca91e013
Move the results lib into Caml
...
The result name is taken by other libs hence it breaks `jbuilder utop`. Hence we
simply move it our stdlib overlay. The -open flag is used to avoid having to
modify vendored code.
2018-03-14 12:09:20 +08:00
Rudi Grinberg
07d84fee0e
Merge pull request #610 from rgrinberg/private-public-optional
...
private/public tests with (optional)
2018-03-14 02:35:14 +07:00
Jeremie Dimino
6fc1e0659a
Workaround non-precise mtime on OSX
2018-03-13 19:15:06 +00:00
Jeremie Dimino
e2adf9d44a
Allow to depend on the universe
...
Fix #255
2018-03-13 19:12:57 +00:00
Jérémie Dimino
8e4c9fce4c
Import the Sexp parser generator ( #608 )
2018-03-13 19:06:34 +00:00
Rudi Grinberg
daf95cef09
private/public tests with (optional)
...
Currently, a library marked (optional) will not build if it's public and has a
private dependency.
2018-03-14 02:37:11 +08:00
Rudi Grinberg
338f4c9ff2
Merge pull request #611 from rgrinberg/move-io-stdune
...
Move Io to stdune
2018-03-14 00:13:23 +07:00
Rudi Grinberg
d6a6a817f7
Move Io to stdune
...
This allows configurator to drop the dependency on jbuilder itself
2018-03-13 20:27:07 +07:00
Rudi Grinberg
54b93c2f85
Fix incorrect line numbers in tests
2018-03-13 10:50:39 +07:00
Rudi Grinberg
ad14b4b180
CHANGELOG for beta 19
2018-03-13 03:43:43 +07:00
Rudi Grinberg
12511a68ea
Merge pull request #607 from rgrinberg/private-public-overlap-take2
...
Disallow public/private overlap
2018-03-13 03:39:55 +07:00
Jérémie Dimino
ca5c383b3b
Fix locations reported by the parser ( #609 )
...
The start position of atoms wasn't saved by the parser.
2018-03-12 18:41:49 +00:00
Jeremie Dimino
e57a706960
Use the use-site location for errors from pps
2018-03-12 18:07:05 +00:00
Jeremie Dimino
7e361d596e
Let Report_error print the location for Private_deps_not_allowed
2018-03-12 17:58:54 +00:00
Jeremie Dimino
178e26cfd9
Use a more informative name
2018-03-12 17:56:24 +00:00
Jeremie Dimino
69209d7243
Remove extra parentheses
2018-03-12 17:53:00 +00:00
Rudi Grinberg
753badd481
Fix private deps check for ppx runtime dependencies
2018-03-13 00:11:12 +07:00
Rudi Grinberg
b2258b6c98
Remove private/public overlap from meta tests
...
Those will go in their own test
2018-03-12 23:59:52 +07:00