File: publish.sh

package info (click to toggle)
ocaml-odoc 2.1.1%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 6,744 kB
  • sloc: ml: 37,049; makefile: 124; sh: 79
file content (18 lines) | stat: -rw-r--r-- 204 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#!/usr/bin/env bash

set -e


dune build @doc
dune build @docgen

cd ../_build/default/doc

ocaml-mdx test driver.md

cd ../../..

git checkout origin/gh-pages

rsync -av _build/default/doc/html/odoc/ .