Commit Graph

95 Commits

Author SHA1 Message Date
Jeremie Dimino 229e7fa883 A couple of fixes for Windows
- open files in text mode when reading lines
- open files used for redirections with O_SHARE_DELETE
2017-04-21 17:22:41 +01:00
Jeremie Dimino 72550dc3e0 Add a -p/--for-release-of-packages command line argument
`-p pkgs` is the equivalent of `--root . --only-packages pkgs`
2017-04-10 10:44:49 +01:00
Jeremie Dimino acb54677d4 Ignore test/ and example/ during bootstrap 2017-03-29 16:51:48 +01:00
Jeremie Dimino 48970caca3 Make sure the build of jbuilder doesn't call ocamlfind or opam 2017-03-22 08:19:26 +00:00
Jeremie Dimino 34a8951292 Improve dependency path printing 2017-03-15 11:49:31 +00:00
Jeremie Dimino c437069fff Improve package not found errors 2017-03-14 15:57:22 +00:00
Jeremie Dimino d959b0f928 Add a Log module and print out the context in the log file 2017-03-10 12:32:27 +00:00
Jeremie Dimino 563cc6059c Add Context.sexp_of_t 2017-03-10 11:22:01 +00:00
Jeremie Dimino 3cb0372f8b Force the recording of backtraces 2017-03-10 10:53:34 +00:00
Jeremie Dimino 4fa0844e42 Remove build-package in favor of --only-packages 2017-03-02 18:21:19 +00:00
Jeremie Dimino 97de72c8dd Improve the external-lib-deps command 2017-03-01 19:19:43 +00:00
Jeremie Dimino 3aef1d6f3c Revert "Rename _build to _jbuild (#13)"
This reverts commit 89c15ca2c5.

Keep _build as the build directory until we get a better consensus.
2017-03-01 16:09:02 +00:00
Rudi Grinberg 89c15ca2c5 Rename _build to _jbuild (#13)
_build is already quite overloaded.
2017-03-01 13:37:05 +00:00
Jeremie Dimino 4ee2e74131 Make build-package work 2017-03-01 13:25:18 +00:00
Jeremie Dimino c3228ee95e fix ocamllex/ocamlyacc rules 2017-03-01 11:34:51 +00:00
Jeremie Dimino bad68218b9 Add a --workspace option 2017-02-27 15:07:37 +00:00
Jeremie Dimino bd9033f9bb Allow 'ocamlfind printconf path' to fail 2017-02-27 11:38:11 +00:00
Jérémie Dimino 6b4e7b31d8 cleanup 2017-02-26 21:49:41 +00:00
Jérémie Dimino 304d7becbc Allow to specify which context for merlin 2017-02-26 20:53:32 +00:00
Jérémie Dimino 38421d7e41 Replace meta language by ocaml 2017-02-26 19:49:54 +00:00
Jérémie Dimino 8d52cba130 Add support for a meta language in jbuild files 2017-02-26 12:38:36 +00:00
Jérémie Dimino 4227e756bd Move actual parsing of jbuilds to Gen_rules 2017-02-25 18:21:23 +00:00
Jérémie Dimino 01e76a64eb Don't force to have a default context 2017-02-25 02:38:41 +00:00
Jérémie Dimino 0ba7299117 Handle installation into multiple contexts at once 2017-02-25 01:45:41 +00:00
Jérémie Dimino 9fe0e9c87d Improve alias management 2017-02-25 01:33:37 +00:00
Jérémie Dimino 7538fd8263 Allow to redefine the default context 2017-02-25 00:28:10 +00:00
Jérémie Dimino 677b9e1e06 Initial support for build contexts 2017-02-25 00:18:01 +00:00
Jeremie Dimino 593b90723d Implement package version support 2017-02-24 18:21:22 +00:00
Jeremie Dimino 4bdac39dd4 fix use of labels 2017-02-24 13:08:37 +00:00
Jeremie Dimino 6080929ede Fix colors in bootstrap mode 2017-02-24 12:20:07 +00:00
Jeremie Dimino 9c6e367089 Add a development mode and cleanup the code 2017-02-24 12:19:02 +00:00
Jeremie Dimino a3cd58de5d A bit more colors 2017-02-24 11:38:50 +00:00
Jeremie Dimino 03f788a0fa a bit more colors 2017-02-24 11:16:55 +00:00
Jeremie Dimino fe929a07d7 Don't require packages to be defined at the root
To match the manual
2017-02-23 15:59:44 +00:00
Jeremie Dimino aa5c4078f7 Improve rendering of errors 2017-02-23 11:55:14 +00:00
Jeremie Dimino 901d9acc2a Don't mangle the output of commands and keep a log file 2017-02-23 11:45:03 +00:00
Jeremie Dimino 193f8d5238 moved cmdliner and re to vendor/ 2017-02-21 15:09:58 +00:00
Rudi Grinberg ac6cb2360a First cut cmdliner support (#5)
Import the sources of cmdliner and rewrite the CLI of jbuilder
2017-02-20 15:51:03 +00:00
Jeremie Dimino 614dbc6f6b Setup copy rules for all source files
This is cleaner and allow dependencies on files that do not
appear in static deps or targets.

With this patch, one can now build all JS packages at once.
2016-12-31 15:12:39 +00:00
Jeremie Dimino e054ce4d71 114.20+69 2016-12-15 13:00:30 +00:00
Jeremie Dimino 2357fa0799 114.20+69 2016-12-15 11:20:46 +00:00
Jeremie Dimino cdcd7e907f 114.20+69 2016-12-02 13:54:32 +00:00
Jeremie Dimino b95fe287cf simple query 2016-11-13 12:40:31 +00:00
Jeremie Dimino a71db86d88 better error reporting 2016-11-13 12:32:12 +00:00
Jeremie Dimino 5a13387210 rename main 2016-11-13 12:26:21 +00:00