Commit Graph

298 Commits

Author SHA1 Message Date
Hezekiah M. Carty 3d194c5276 Minor typos 2017-05-29 08:51:44 +01:00
Jérémie Dimino f1ebc0ed7d Add (mli-to-ml ...) as a hack for mli only modules 2017-05-29 07:51:52 +01:00
Jérémie Dimino c6cc8204bf Add (foreach ...) form 2017-05-29 07:51:52 +01:00
Markus Mottl e63a6e4006 Command typo 2017-05-27 20:18:19 -04:00
Jeremie Dimino 15491fd599 Document API doc 2017-05-26 18:34:49 +01:00
Richard Davison 91d03de221 Add clean subcommand (#89) 2017-05-26 11:32:32 +01:00
Marek Kubica 3633d5b012 Fix small typo in quickstart 2017-05-24 14:38:10 +01:00
Yaron Minsky f994c4690e Update quick-start.rst 2017-05-22 11:58:58 +01:00
Yaron Minsky 4dada0e91d Update quick-start.rst 2017-05-22 11:58:58 +01:00
Yaron Minsky ad9285493b Add an example showing how to use ppx_jane 2017-05-22 11:58:58 +01:00
Yaron Minsky b8acabee43 Fix language choice for example in docs. 2017-05-21 14:45:06 -04:00
Jeremie Dimino c6dac87ee9 Ignore all directories starting with '.' pr '_' 2017-05-19 12:36:06 +01:00
Jérémie Dimino fe30935fa2 Rename 'extract-makefile' to 'rules' 2017-05-19 08:27:21 +01:00
Rudi Grinberg 1309a92ec5 Fix links in rst docs
Were not converted correctly by pandoc so they must be fixed manually
2017-05-19 08:25:46 +01:00
Jeremie Dimino d219020b2f added jbuilder extract-makefile 2017-05-18 19:05:01 +01:00
Louis Roché f57c084f4b fix typo in quick start documentation (#79) 2017-05-17 08:12:58 +01:00
Jeremie Dimino d0be25cd88 manual.org and quick-start.org no longer exist 2017-05-15 17:14:10 +01: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 15f43615c5 Add a note about % in user rules
Related to #73
2017-05-11 16:07:59 +01:00
Jeremie Dimino ddadf85d62 doc 2017-05-08 17:11:04 +01:00
Jeremie Dimino dce491e661 Add a subst command for watermarking files 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
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 411d1a2f2c Refactoring
- add Super_context.resolve_program and use it everywhere.
- add src/js_of_ocaml.mli
2017-05-02 12:01:27 +01:00
hhugo 86a4f0324a Add js_of_ocaml support (#60)
Add rules for building .js files from .bc files using js_of_ocaml as well as rules for separate js compilation when --dev is passed.
2017-05-02 11:25:37 +01:00
Jeremie Dimino b48f545b5f Update manual about (package ...) fields in alias stanzas 2017-05-02 10:13:03 +01:00
Rudi Grinberg c9ec382f28 Document package field in alias stanza 2017-05-02 09:57:03 +01:00
Jeremie Dimino 52b326ab43 Advertise reason support 2017-04-20 16:52:05 +01:00
Jeremie Dimino ff6019c919 Document manual installation and where external libraries are looked up 2017-04-19 16:06:32 +01:00
Jeremie Dimino aea7ba8cbf Update the opam invocation 2017-04-18 12:32:39 +01:00
Jeremie Dimino 03f1f42e57 Document: --cookie library-name="..." 2017-04-17 13:56:44 +01:00
Jeremie Dimino 07871b1190 Add support for ${lib-available:<name>} forms 2017-04-17 12:48:54 +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 d948edbc4c Add a (no_dynlink) field 2017-04-10 10:10:15 +01:00
Rudi Grinberg b9d145dd80 Fix typo in manual 2017-04-07 17:23:35 -04:00
Jeremie Dimino 989d0bd91a s/option/field/ 2017-04-03 16:29:27 +01:00
Rudi Grinberg 3e3d92c9e5 Add menhir support (#42)
Adds the menhir stanza which desugars into a Rule.t with Support for:
* ocamlyacc like use
* modular parsers with --base
* passing extra flags

Also add tests and documentation.
2017-04-03 16:25:43 +01:00
Jeremie Dimino d14fdd8f98 Document how to run tests
Fix #45
2017-03-30 18:10:23 +01:00
Adrien Guatto c05f410b75 Improve wording and fix typos in documentation 2017-03-30 17:42:07 +01:00
Jeremie Dimino 3ae53de431 Add an "executable" stanza and make it easier to install executables
(executable ...) is easier to use where there is a single executable.

Also add a (package ...) and (public_name <name>)/(public_names
(<names)) to executable/executables stanzas, to make it easier to
install executables.

Closes #33
2017-03-22 15:09:26 +00:00
Jeremie Dimino 57f4203102 Fix a few (action ...) in the doc
Closes #32
2017-03-22 11:25:57 +00:00
Jeremie Dimino a07df550e0 Update the quick-start guide 2017-03-21 14:39:12 +00:00
Jeremie Dimino a84e338436 Typo
Fix #31
2017-03-21 10:49:54 +00:00
Jeremie Dimino 8c6cffd2df Document (files_recursively_in ...) 2017-03-15 09:11:42 +00:00
Jeremie Dimino 847c771cb8 Add (jbuild_version 1) to jbuilds in the quick start guide 2017-03-14 09:43:55 +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
Laurent Mazare 0b7d16ccdf Fix the runtest alias example. 2017-03-10 21:28:44 +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 4aec06ee46 Better rules for finding the root 2017-03-10 10:41:34 +00:00
Hao Wu 5faf444db3 Fix doc: jbuilder build xxx instead of jbuilder xxx (#16) 2017-03-10 09:39:59 +00:00
Jeremie Dimino 374c29c7cc Install the quick start guide 2017-03-09 12:02:26 +00:00
Jeremie Dimino fa95e71565 Update the quick start guide 2017-03-09 12:02:02 +00:00
Jérémie Dimino 74e015923a Ignore <package>.opam when <package> is empty 2017-03-09 06:41:42 +00:00
Jeremie Dimino 3a86b3fefa Fix root finding
Look for .opam files instead of .install ones...
2017-03-08 12:10:54 +00:00
Jeremie Dimino 7e36b3cd86 Add self_build_stubs_archive to v1 2017-03-07 13:21:54 +00:00
Jeremie Dimino 4722d0e0d3 Update the manual 2017-03-06 15:15:04 +00:00
Jeremie Dimino a90b436020 Update the manual 2017-03-06 14:23:15 +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 cef3847977 Do no require ppx_driver 2017-03-05 09:38:39 +00:00
Jeremie Dimino 8633236dfa Update the manual 2017-03-03 13:18:21 +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 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 d338bdd134 more doc 2017-03-02 12:14:50 +00:00
Jeremie Dimino 16bd433e4e Do not compute external library dependencies eagerly 2017-03-02 11:34:13 +00:00
Jeremie Dimino 084baba117 Better specification of user actions 2017-03-02 10:36:05 +00:00
Jeremie Dimino a206c5cfda Update the manual regarding the ppx status
Following #14
2017-03-02 10:07:24 +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 6e25a7dfe5 Remove (provides ...) and uses (install ...) instead 2017-03-01 11:20:17 +00:00
Jeremie Dimino 60be8f7734 Remove the Ocamllex/Ocamlyacc modules and desugar them instead 2017-03-01 09:21:34 +00:00
Rudi Grinberg 78a2b27bc1 Fix up manual/roadmap (#11)
* fix a bunch of typos
* s/rule/alias/ in the alias section
* clarify that multiple exe's in the same dir with a different build conf. are
possible
2017-03-01 08:54:21 +00:00
Jérémie Dimino fea880f31f Update the manual 2017-02-28 23:28:35 +00:00
Jérémie Dimino d627744513 Fix the interpretation of 2017-02-28 23:26:53 +00:00
Jeremie Dimino d075544d0a Small improvements in the manual 2017-02-28 18:27:28 +00:00
Jeremie Dimino 2e7d592f66 implement the manual properly for (install ...) stanzas 2017-02-28 18:17:15 +00:00
Jeremie Dimino efbe548612 add a cppo example 2017-02-28 17:25:31 +00:00
Jeremie Dimino 55405f7f25 Rework the readme 2017-02-28 17:20:41 +00:00
Jeremie Dimino dc5c5851ff Execute preprocess commands using the system shell 2017-02-28 10:32:57 +00:00
Jérémie Dimino ac372ce63a Allow to use installed libraries in jbuild plugins 2017-02-28 06:31:02 +00:00
Jeremie Dimino e540602ad9 Add a few more actions
Just enough to handle the common cases.
2017-02-27 14:15:30 +00:00
Jérémie Dimino ff0fa5885f Update the manual 2017-02-26 19:56:38 +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 a600d47e37 Fix the manual 2017-02-25 01:52:37 +00:00
Jérémie Dimino 9fe0e9c87d Improve alias management 2017-02-25 01:33:37 +00:00
Jeremie Dimino 593b90723d Implement package version support 2017-02-24 18:21:22 +00:00
Jeremie Dimino a0ce6a68aa Install all manual pages 2017-02-24 17:36:39 +00:00
Jeremie Dimino ecc3462912 Add (with-stdout-to ...) 2017-02-24 16:47:23 +00:00
Jeremie Dimino e148f75ee4 add an install alias 2017-02-24 12:54:51 +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 f9c80160f1 Implement versionned jbuild parsers 2017-02-24 09:41:32 +00:00
Jeremie Dimino ee7ab05d9e Better for user written/generated META files 2017-02-23 17:34:11 +00:00
Jeremie Dimino 331b9dc14e Include generated files when looking for odig doc files 2017-02-23 14:16:29 +00:00
Jeremie Dimino aa2242989f added documentation 2017-02-21 15:09:26 +00:00