Commit Graph

2536 Commits

Author SHA1 Message Date
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 4722d0e0d3 Update the manual 2017-03-06 15:15:04 +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 a90b436020 Update the manual 2017-03-06 14:23:15 +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
Jérémie Dimino ca4b6fbf41 All IO must go through Build 2017-03-05 12:04:19 +00:00
Jérémie Dimino 6364f70245 Fix a few ppx related issues 2017-03-05 11:57:27 +00:00
Jérémie Dimino 05830fc809 Pass common flags to merlin 2017-03-05 10:32:04 +00:00
Jérémie Dimino d58528d14c Better error message when the ppx driver is missing 2017-03-05 10:17:35 +00:00
Jérémie Dimino ba80202747 Implem of Build.progn 2017-03-05 10:05:05 +00:00
Jérémie Dimino 9013a836f0 Check that rules do produce the expected targets 2017-03-05 09:53:28 +00:00
Jérémie Dimino cef3847977 Do no require ppx_driver 2017-03-05 09:38:39 +00:00
Jérémie Dimino 9c9db30678 Add a .ocp-indent file 2017-03-04 10:38:10 +00:00
Jérémie Dimino 4593656c04 Improve bootstrap for bytecode only switches
Only look for ocamlopt at the same place of ocamlc
2017-03-03 18:07:36 +00:00
Jérémie Dimino 05106744fb Merge branch 'incremental-build' 2017-03-03 17:12:51 +00:00
Jérémie Dimino c7a20aacc5 Update CHANGES.org 2017-03-03 17:10:51 +00:00
Jérémie Dimino c03a4fb7df Fix 2017-03-03 17:10:15 +00:00
Jeremie Dimino 90c751566b Accept (bash ...) in actions 2017-03-03 15:27:57 +00:00
Jeremie Dimino a188fcacf4 Start incremental compilation 2017-03-03 15:26:14 +00:00
Jeremie Dimino 87fa4c080a Fix the use of Path.reach for program names 2017-03-03 13:53:34 +00:00
Jeremie Dimino 65f06e7454 fix 2017-03-03 13:47:51 +00:00
Jeremie Dimino 470d791bac fix 2017-03-03 13:23:44 +00:00
Jeremie Dimino c3c3e9e9b5 Force users to write (bash ...) when they want it 2017-03-03 13:18:52 +00:00
Jeremie Dimino 8633236dfa Update the manual 2017-03-03 13:18:21 +00:00
Jeremie Dimino e300ca0f16 Simplify actions
Make Bash a normal action
2017-03-03 12:59:52 +00:00
Jeremie Dimino 581c63f6ca Added --debug-action 2017-03-03 12:46:54 +00:00
Jeremie Dimino adf423a595 Change the rule signature
Now rules are arrows of type: (unit, Action.t) Build.t

They don't execute command directly, but instead build a serializable
action to execute.
2017-03-03 12:27:34 +00:00
Jeremie Dimino 2967987356 add a few more actions 2017-03-03 09:18:03 +00:00
Jeremie Dimino 987d437a99 Revert name change 2017-03-03 08:57:20 +00:00
Jeremie Dimino cd359538b0 simplify 2017-03-03 08:47:58 +00:00
Jeremie Dimino 304e4d9a7a prepare for change 2017-03-03 08:18:10 +00:00
Jeremie Dimino 8ddcf0b160 typo 2017-03-03 07:25:06 +00:00
Jeremie Dimino 4fa0844e42 Remove build-package in favor of --only-packages 2017-03-02 18:21:19 +00:00
Jeremie Dimino 591bc9f724 Fix the setting of CAML_LD_LIBRARY_PATH 2017-03-02 17:40:16 +00:00
Jeremie Dimino a1bcf263c3 Fix for 4.04 2017-03-02 17:01:56 +00:00
Jeremie Dimino 51ce0c2daf Restrict the scope of internal names
Otherwise building several packages at once doesn't always work
2017-03-02 16:57:28 +00:00
Jeremie Dimino 2628eba306 Don't install jbuilder as a library
The API is not stable at all, so let's not do it until the Jenga
bridge is ready
2017-03-02 14:53:33 +00:00
Jeremie Dimino d858bfdda9 Make vjs closer to v1 to prepare for the next Jane Street release 2017-03-02 14:50:44 +00:00