forked from ocaml/dune
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a (package) field to (mdx) with the usual semantics. The syntax is not ideal since (packages) is already supported as sugar to specify dependencies. See ocaml#4691 Closes ocaml#3756 Signed-off-by: Etienne Millon <me@emillon.org>
- Loading branch information
Showing
18 changed files
with
111 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/mdx-stanza.t/package-old-lang-dune/doc-a.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```ocaml | ||
# let x = 1;; | ||
``` |
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/mdx-stanza.t/package-old-lang-dune/doc-b.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```ocaml | ||
# let x = 1;; | ||
``` |
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/mdx-stanza.t/package-old-lang-dune/doc-nopkg.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```ocaml | ||
# let x = 1;; | ||
``` |
10 changes: 10 additions & 0 deletions
10
test/blackbox-tests/test-cases/mdx-stanza.t/package-old-lang-dune/dune
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(mdx | ||
(files doc-a.md) | ||
(package a)) | ||
|
||
(mdx | ||
(files doc-b.md) | ||
(package b)) | ||
|
||
(mdx | ||
(files doc-nopkg.md)) |
2 changes: 2 additions & 0 deletions
2
test/blackbox-tests/test-cases/mdx-stanza.t/package-old-lang-dune/dune-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 2.8) | ||
(using mdx 0.1) |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```ocaml | ||
# let x = 1;; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```ocaml | ||
# let x = 1;; | ||
``` |
3 changes: 3 additions & 0 deletions
3
test/blackbox-tests/test-cases/mdx-stanza.t/package/doc-nopkg.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```ocaml | ||
# let x = 1;; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
(mdx | ||
(files doc-a.md) | ||
(package a)) | ||
|
||
(mdx | ||
(files doc-b.md) | ||
(package b)) | ||
|
||
(mdx | ||
(files doc-nopkg.md)) |
2 changes: 2 additions & 0 deletions
2
test/blackbox-tests/test-cases/mdx-stanza.t/package/dune-project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 2.9) | ||
(using mdx 0.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters