Commit Graph

465 Commits

Author SHA1 Message Date
Jeremie Dimino 60ad83c522 Improve opam parsing errors & use opam-file-format to extract the version 2017-05-16 14:47:52 +01:00
Jeremie Dimino f2a857f406 Fix Super_context.expand_and_eval_set
It declared its own dependencies as action dependencies rather than
rule dependencies
2017-05-16 12:19:18 +01:00
Jeremie Dimino ecf9207830 Update links in the readme 2017-05-15 17:32:16 +01:00
Jeremie Dimino d0be25cd88 manual.org and quick-start.org no longer exist 2017-05-15 17:14:10 +01:00
Rudi Grinberg d0c273abcb Merge pull request #78 from rgrinberg/readthedocs
Read The Docs
2017-05-15 11:55:20 -04:00
Rudi Grinberg 56093df13e Read The Docs
Port manual to RST to make it usable on readthedocs.

conf.py was only there to make it easy to preview changes if you have sphinx
installed.
2017-05-15 11:53:55 -04:00
Jeremie Dimino bd62dc8306 Merge build_interpret functions 2017-05-15 15:15:20 +01:00
Jeremie Dimino 9a5bb0ca1f Compute dynamic dependencies correctly for memoized arrows 2017-05-15 15:09:56 +01:00
Jeremie Dimino 648b2b2990 Revert some changes:
- Make targets explicit b7ad08df84.
- Get rid of Vfile      e73fd90b65.

Without vfile we need some new concepts to avoid parsing the requires
file multiple times and with vfile it's annoying to specify the
dependencies by hand.

Will leave that for future work. Just use memoize where it make sense,
for instance when we read the result from only the current directory
(for instance the ocamldep stuff).
2017-05-15 14:58:37 +01:00
Rudi Grinberg 5adfe2d668 Ignore local switch directory (#77)
This makes jbuilder usable for building projects that use a local switch
2017-05-15 10:30:02 +01:00
Jérémie Dimino be3593e449 Distinguish rule dependencies from action dependencies 2017-05-15 09:37:46 +01:00
Jérémie Dimino b7ad08df84 Make targets explicit 2017-05-15 09:37:46 +01:00
Jérémie Dimino b6b417e640 simplification 2017-05-15 09:37:46 +01:00
Jérémie Dimino e73fd90b65 Get rid of Vfile
replace it by just memoize
2017-05-15 09:37:46 +01:00
Jérémie Dimino f5192122f8 add Build.memoize 2017-05-15 09:37:46 +01:00
Jeremie Dimino dd79bdd8d1 Suffix all alias files, to avoid clashes with doc 2017-05-15 09:37:46 +01:00
Jeremie Dimino 87c958f2e0 Add Build.if_file_exists 2017-05-15 09:37:46 +01:00
hhugo c880cd3e2d disable warning 60 with --dev 2017-05-14 13:06:22 +01:00
Jeremie Dimino 15f43615c5 Add a note about % in user rules
Related to #73
2017-05-11 16:07:59 +01:00
Jeremie Dimino 4c9f894fe4 fix stupid bug 2017-05-10 16:44:01 +01:00
Jeremie Dimino 76db4d5641 Use OCAML_COLOR and stop using OCAMLPARAM when possible 2017-05-10 16:31:44 +01:00
Jeremie Dimino a573643b1e Remove version in README.org 2017-05-09 15:11:54 +01:00
Jeremie Dimino b514644f9b Revert "Add support for hooks"
This reverts commit c937dc9183.
2017-05-09 15:11:09 +01:00
Jérémie Dimino c937dc9183 Add support for hooks 2017-05-09 08:18:10 +01:00
Jérémie Dimino 024477dc54 Update changelog 2017-05-09 07:45:40 +01:00
Jeremie Dimino cbc890dc5c Add the version to the exe 2017-05-08 17:19:27 +01:00
Jeremie Dimino ddadf85d62 doc 2017-05-08 17:11:04 +01:00
Jeremie Dimino add2a063c0 Detect the package name as topkg-jbuilder does 2017-05-08 16:56:21 +01:00
Jeremie Dimino 09b8e04f1c Use topkg-jbuilder as an external package 2017-05-08 16:56:21 +01:00
Jeremie Dimino 221baefb81 Make subst add the version to the opam file 2017-05-08 16:56:21 +01:00
Jeremie Dimino e498b5a720 Add jbuilder.descr 2017-05-08 16:56:21 +01:00
Jeremie Dimino 61f0f8fd0e Fix bootstrap 2017-05-08 16:56:21 +01:00
Jeremie Dimino 6d0c8198eb Substitute watermarks for jbuilder itself 2017-05-08 16:56:21 +01:00
Jeremie Dimino 87df38d1f6 Fix call to git describe 2017-05-08 16:56:21 +01:00
Jeremie Dimino 5ca4320a1a Add the version to the readme 2017-05-08 16:56:21 +01:00
Jeremie Dimino dce491e661 Add a subst command for watermarking files 2017-05-08 16:56:21 +01:00
Jeremie Dimino 62334a1f0a Imported opam-file-format 2017-05-08 16:56:21 +01:00
Jeremie Dimino 5f7d0b1093 added opam-file-format jbuild 2017-05-08 16:56:21 +01:00
Jérémie Dimino 9aa3f9364f CHANGES.org --> CHANGES.md 2017-05-08 16:56:21 +01:00
Jérémie Dimino 24443ddf20 Install topkg-jbuilder 2017-05-08 16:56:21 +01:00
Jérémie Dimino 46075ae346 Add some glue to make topkg work 2017-05-08 16:56:21 +01:00
Bikal Gurung 6ab59ddc53 Fix typo (#70) 2017-05-08 08:16:22 +01:00
Jeremie Dimino 4130bc2f63 Add support for ${version:<package>} 2017-05-05 12:26:56 +01:00
Jeremie Dimino ef6be544a3 Keep the package context after parsing 2017-05-05 11:21:46 +01:00
Jeremie Dimino fbe0810156 Improve location of errors for mispelled package in jbuild files 2017-05-05 10:59:07 +01:00
hhugo 5cf647e358 Documentation for js_of_ocaml (#69) 2017-05-05 08:49:29 +01:00
hhugo 031d57a70a Documentation for JavaScript targets 2017-05-04 14:11:42 +01:00
Jeremie Dimino bfb01f4bc3 Refresh re and cmdliner 2017-05-02 14:08:51 +01:00
Jeremie Dimino 868f75f146 Add a script to upgrade vendor/cmdliner 2017-05-02 14:08:51 +01:00
Jeremie Dimino d69a7c577a Add a script to upgrade vendor/re 2017-05-02 14:08:47 +01:00