Commit Graph

212 Commits

Author SHA1 Message Date
Jeremie Dimino 48ac99797e Improve error messages about invalid/missing pkg.opam files 2017-03-17 10:51:22 +00:00
Jeremie Dimino 6d1bb607c9 Fix #25 2017-03-15 15:44:27 +00:00
Jeremie Dimino 3b0c6403ee Fix a bug in Findlib.available
Fix #24
2017-03-15 12:07:20 +00:00
Jeremie Dimino 34a8951292 Improve dependency path printing 2017-03-15 11:49:31 +00:00
Jeremie Dimino 0dd24399ca Ignore opam files in ignored sub-trees 2017-03-15 11:41:44 +00:00
Jeremie Dimino bf4a4ba5f9 Add a regression test for #20 2017-03-15 11:13:49 +00:00
Jeremie Dimino dac70f4d72 Fix generation of @canonical tags 2017-03-15 10:44:55 +00:00
Jeremie Dimino 6cf93d69b5 Fix a bug in incremental compilation
If a rule had no dependencies and targets where missing, it wasn't
re-run.

Refactor the code and fix this bug.
2017-03-15 10:43:03 +00:00
Jeremie Dimino ec6b89ea11 Improve errors for ${lib:...} 2017-03-15 09:46:42 +00:00
Jeremie Dimino 2a5dc053fb Fix sexp_of_t (Update_file ...) 2017-03-15 09:15:47 +00:00
Jeremie Dimino e7b543e7cb Don't scan the tree a second time for files_recursively_in 2017-03-15 09:10:22 +00:00
Jeremie Dimino a04b0c4dcc Improve 'required_by ...' messages 2017-03-15 08:59:00 +00:00
Jeremie Dimino c437069fff Improve package not found errors 2017-03-14 15:57:22 +00:00
Jeremie Dimino 6ae036a318 Fix fix for #20 2017-03-14 08:02:01 +00:00
Jeremie Dimino 132ddca42b generate @canonical doc tags 2017-03-13 14:08:15 +00:00
Jeremie Dimino 020da39542 as-ppx.exe --> ppx.exe 2017-03-13 13:36:01 +00:00
Hugo Heuzard 63462fd452 Fix deps with multiple glob_files 2017-03-13 10:13:39 +00:00
Jérémie Dimino 1dcf38af93 Fix Path.extract_build* functions when applied on the build_dir itself
This should fix #20
2017-03-13 08:53:41 +00:00
Jérémie Dimino ba08f27678 Add a few more redirections
- with-{stdout,stderr,outputs}-to
- ignore-{stdout,stderr,outputs}
- variable ${null} for /dev/null or NUL on Win32
2017-03-13 08:10:59 +00:00
Jeremie Dimino 99d7a26f28 Fix previous commit 2017-03-10 16:32:08 +00:00
Jeremie Dimino dd6a23ec18 Fix #15
When there are no <pkg>.opam files in parent directories, use the
whole workspace as scope
2017-03-10 15:44:17 +00:00
Jeremie Dimino df7658914d Fix a bug where the findlib search path contained duplicates 2017-03-10 15:35:43 +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 629b4d0044 Use Path.absolute for OCAML_TOPLEVEL_PATH 2017-03-10 10:57:09 +00:00
Jeremie Dimino 3cb0372f8b Force the recording of backtraces 2017-03-10 10:53:34 +00:00
Jérémie Dimino 74e015923a Ignore <package>.opam when <package> is empty 2017-03-09 06:41:42 +00:00
Jeremie Dimino 6ac0200d95 Fix the interpretation of inside actions 2017-03-08 15:28:32 +00:00
Jeremie Dimino 8f78118ff5 Fix error message printing format syntax 2017-03-08 15:13:33 +00:00
Jeremie Dimino 7e36b3cd86 Add self_build_stubs_archive to v1 2017-03-07 13:21:54 +00:00
Jeremie Dimino d5d861b40c Support architectures without natdynlink 2017-03-07 11:36:59 +00:00
Jeremie Dimino 3db4514d3a Delete pending targets when a command fails 2017-03-07 10:14:16 +00:00
Jeremie Dimino 427e8582c0 Make sure migrate_driver_main comes last 2017-03-07 09:50:38 +00:00
Jeremie Dimino 18e3530c0a Don't generate -embed-errors for merlin 2017-03-07 09:39:14 +00:00
Jeremie Dimino c848e6ae97 Print a message when waiting for jobs 2017-03-07 09:34:16 +00:00
Jeremie Dimino 54197cc70d Pass -embed-errors=false to ppx_driver 2017-03-06 16:18:51 +00:00
Jeremie Dimino 78e47bafa8 Don't save the db if _build doesn't exist 2017-03-06 15:33:03 +00:00
Jeremie Dimino cac1dc0e3e fixes 2017-03-06 15:14:57 +00:00
Jeremie Dimino 7850bf67f5 Write_file --> Update_file 2017-03-06 14:34:53 +00:00
Jeremie Dimino da43937663 Allow arbitrary flags in (pps ...) forms 2017-03-06 13:54:08 +00:00
Jeremie Dimino a26b787456 Fix expansion of user actions 2017-03-06 12:22:44 +00:00
Jeremie Dimino a07a9a84ec Use more standard command line options for ppx drivers 2017-03-06 11:59:21 +00:00
Jeremie Dimino df883bef75 Fix Build.and_create_file 2017-03-06 10:41:51 +00:00
Jeremie Dimino f21217dfbc Improving errors when an alias is not found 2017-03-06 10:30:57 +00:00
Jeremie Dimino 35ac2e84ed Switch to ocaml-migrate-parsetree.driver-main 2017-03-06 10:22:00 +00:00
Jérémie Dimino 9423e5ae74 Avoid stupid warning about trigraph on OSX 2017-03-05 21:07:40 +00:00
Jérémie Dimino 0b7d664f49 Don't recompile everything when the .merlin changes 2017-03-05 20:58:51 +00:00
Jérémie Dimino fb6d135de6 Support ppx in .merlin files 2017-03-05 13:16:25 +00:00
Jérémie Dimino 95eca26bf0 Don't delete targets before executing a rule
At the moment, this breaks incremental builds
2017-03-05 12:33:54 +00:00
Jérémie Dimino 292f423cda Build.t doesn't need Future to be interpreted 2017-03-05 12:11:48 +00:00