-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ocaml-mdx verification of the tutorials
- Loading branch information
Showing
7 changed files
with
64 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ _build/ | |
.cache/ | ||
public/ | ||
node_modules/ | ||
*.install | ||
*.merlin | ||
.#* | ||
package-lock.json |
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 |
---|---|---|
@@ -1,4 +1,15 @@ | ||
language: node_js | ||
node_js: | ||
- "11" | ||
script: npm run lint | ||
matrix: | ||
include: | ||
- language: node_js | ||
node_js: | ||
- "11" | ||
script: npm run lint | ||
|
||
- language: c | ||
install: wget https://raw.githubusercontent.com/ocaml/ocaml-travisci-skeleton/master/.travis-opam.sh | ||
script: bash ./.travis-opam.sh | ||
env: | ||
- OCAML_VERSION=4.08 | ||
- PACKAGE="irmin-website" | ||
- PINS="irmin-website:." | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
(rule | ||
(targets mdx.ml) | ||
(deps (:markdown (glob_files *.md))) | ||
(action (with-stdout-to %{targets} | ||
(bash "echo %{markdown} | xargs --max-args=1 ocaml-mdx pp"))) | ||
) | ||
|
||
(test | ||
(name mdx) | ||
(libraries irmin irmin-unix lwt hiredis) | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
(lang dune 1.11) | ||
(name irmin-website) |
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,34 @@ | ||
opam-version: "2.0" | ||
name: "irmin-website" | ||
synopsis: "Public homepage of Irmin" | ||
maintainer: "Craig Ferguson <[email protected]>" | ||
authors: ["Craig Ferguson <[email protected]>"] | ||
homepage: "https://github.com/tarides/irmin.io" | ||
bug-reports: "https://github.com/tarides/irmin.io/issues" | ||
dev-repo: "git+https://github.com/tarides/irmin.io.git" | ||
|
||
build: [ | ||
["dune" "subst"] {pinned} | ||
["dune" "build" "-p" name "-j" jobs] | ||
["dune" "runtest" "-p" name] {with-test} | ||
] | ||
|
||
depends: [ | ||
"ocaml" {>= "4.06.0"} | ||
"dune" {build & >= "1.7.0"} | ||
"irmin" | ||
"irmin-unix" | ||
"mdx" | ||
"lwt" | ||
"hiredis" | ||
] | ||
|
||
pin-depends: [ | ||
["irmin.dev" "git+https://github.com/mirage/irmin.git"] | ||
["irmin-unix.dev" "git+https://github.com/mirage/irmin.git"] | ||
["irmin-mem.dev" "git+https://github.com/mirage/irmin.git"] | ||
["irmin-git.dev" "git+https://github.com/mirage/irmin.git"] | ||
["irmin-http.dev" "git+https://github.com/mirage/irmin.git"] | ||
["irmin-fs.dev" "git+https://github.com/mirage/irmin.git"] | ||
["irmin-graphql.dev" "git+https://github.com/mirage/irmin.git"] | ||
] |