Commit Graph

863 Commits

Author SHA1 Message Date
Jeremie Dimino 03f788a0fa a bit more colors 2017-02-24 11:16:55 +00:00
Jeremie Dimino 9b6b6b11f7 drop support for (preprocess metaquot) 2017-02-24 10:50:43 +00:00
Jeremie Dimino 0f28c8bba0 Refactor Sexp.of_sexp_error API 2017-02-24 10:49:27 +00:00
Jeremie Dimino 89335dd5e4 Better support for cross-compilation 2017-02-24 10:28:31 +00:00
Jeremie Dimino ae376d30d2 Better support for byte-code only architectures 2017-02-24 10:13:13 +00:00
Jeremie Dimino e2a607af6e Parse and interpret (jbuilder_version ...) stanzas 2017-02-24 10:03:39 +00:00
Jeremie Dimino f9c80160f1 Implement versionned jbuild parsers 2017-02-24 09:41:32 +00:00
Jeremie Dimino 3fd14a8f28 Factorize jbuilds a bit 2017-02-23 18:46:12 +00:00
Jeremie Dimino 7d10b0e983 Make sexp record parsing more composable 2017-02-23 18:33:37 +00:00
Jeremie Dimino ee7ab05d9e Better for user written/generated META files 2017-02-23 17:34:11 +00:00
Jeremie Dimino a257da3f94 Fix path of install files 2017-02-23 16:55:42 +00:00
Jeremie Dimino f2e1f7d2ce Check that packages are correctly specified in jbuilds 2017-02-23 16:47:25 +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 331b9dc14e Include generated files when looking for odig doc files 2017-02-23 14:16:29 +00:00
Jeremie Dimino 75335af4bc Implement odig conventions properly 2017-02-23 13:52:36 +00:00
Jeremie Dimino 3716f87285 Add a runtest command
Closes #3
2017-02-23 13:17:38 +00:00
Jeremie Dimino 087c9570e4 Fix recursive aliases 2017-02-23 13:15:36 +00:00
Jeremie Dimino d696bd113b Hack to force OCaml to use colors when possible 2017-02-23 12:12:02 +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 e75f0e4455 Interpret extra_disabled_warnings 2017-02-23 10:43:51 +00:00
Jeremie Dimino 358c9ecbc6 Implement targets resolution
Prepend _build/default only when a path is not a direct target. This
way "jbuilder build package.install" does produce the
"package.install" file
2017-02-23 10:04:32 +00:00
Jeremie Dimino 593bd4c1c1 Disable colors when compiling from emacs 2017-02-23 10:04:23 +00:00
Thomas Refis f00fd49f0b 114.33+05 2017-02-21 17:13:30 +00:00
Jeremie Dimino 193f8d5238 moved cmdliner and re to vendor/ 2017-02-21 15:09:58 +00:00
Rudi Grinberg 428c0b5368 Implement (alias ...) stanzas (#7) 2017-02-21 14:52:26 +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 ae6b09b180 114.30+68 2017-02-02 10:31:36 +00:00
Jeremie Dimino 1c1a08ec54 114.29+68 2017-01-26 10:53:37 +00:00
Jeremie Dimino 5f239a349f 114.29+19 2017-01-25 15:41:22 +00:00
Jeremie Dimino 42680ee945 114.29+19 2017-01-24 16:02:53 +00:00
Jeremie Dimino 716f30c3d3 114.28+32 2017-01-19 13:19:13 +00:00
Jeremie Dimino 9e4a83bf48 add support for c_library_flags 2017-01-06 17:18:36 +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 875df08235 add deps on header files & stubs 2016-12-31 13:26:29 +00:00
Jeremie Dimino 11c61b3234 114.20+69 2016-12-23 15:32:23 +00:00
Jeremie Dimino ea888074b0 We need the .a to build the .cmxs
Should fix janestreet/re2#17
2016-12-19 11:47:24 +00:00
Jeremie Dimino 079d64f48c 114.20+69 2016-12-16 12:56:34 +00:00
Jeremie Dimino 09503447b9 114.20+69 2016-12-16 10:58:59 +00:00
Jeremie Dimino 405971694c 114.20+69 2016-12-15 16:54:46 +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 0eacc5d546 Fix the -dlllib option passed to ocamlc
Related to janestreet/base#5
2016-12-09 08:36:28 +00:00
Jeremie Dimino b80929774a fix 2016-12-07 17:05:53 +01:00
Jeremie Dimino 0dd0511581 handle exceptions properly 2016-12-07 16:55:47 +01:00
Jeremie Dimino f7b51ed1a0 follow opkg rules 2016-12-07 16:09:49 +01:00
Jeremie Dimino 0f771a004b compile everything with -no-alias-deps 2016-12-03 17:58:38 +01:00
Jeremie Dimino be0eda3026 pass -dump-ast to ppx driver 2016-12-03 17:58:38 +01:00
Jeremie Dimino cb72b1cfca fix race condition when .mli is missing
closes janestreet/base#4
2016-12-03 17:57:53 +01:00
Jeremie Dimino cdcd7e907f 114.20+69 2016-12-02 13:54:32 +00:00
Jeremie Dimino d3125bd4a8 handle findlib properly 2016-11-13 17:05:55 +00:00
Jeremie Dimino b95fe287cf simple query 2016-11-13 12:40:31 +00:00
Jeremie Dimino 567dac033f fix meta parsing 2016-11-13 12:37:18 +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
Jeremie Dimino b3433c5943 add internal command 2016-11-13 12:25:45 +00:00
Jeremie Dimino 24bb677ed2 fixes 2016-11-13 11:27:31 +00:00
Jeremie Dimino 583b55f527 findlib support 2016-11-13 11:13:47 +00:00
Jeremie Dimino de3314049f added meta.mli 2016-11-13 10:03:07 +00:00
Jeremie Dimino c9fddcbb77 meta parser 2016-11-13 10:01:32 +00:00
Jeremie Dimino 6039e16258 added meta 2016-11-12 11:48:24 +00:00
Jeremie Dimino 0a29ae3749 more work 2016-11-03 16:44:09 +00:00
Jeremie Dimino 93b5d9bdb9 initial import 2016-10-30 19:07:53 +00:00