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
Jeremie Dimino
f017e810d8
Remove some dead code
...
vjs is mostly unused now given that Jane Street jbuild files are
automatically rewritten. We keep the Vjs version though, just in case.
2017-05-02 13:34:52 +01:00
Jeremie Dimino
b73e672cad
Move js_of_ocaml to Buildable
2017-05-02 13:30:58 +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
Jeremie Dimino
477a5997ca
Update changelog and roadmap
2017-05-02 10:02:44 +01:00
Rudi Grinberg
c9ec382f28
Document package field in alias stanza
2017-05-02 09:57:03 +01:00
Rudi Grinberg
afce8c7f4f
Specify package for aliases
...
Useful for running tests for a specific package
2017-05-02 09:57:03 +01:00