]> Git — Sourcephile - julm/rezine-rfcs.git/blob - scripts/html.sh
correct(scripts): generate only the correct .csl.json
[julm/rezine-rfcs.git] / scripts / html.sh
1 #!/usr/bin/env bash
2 # Usage: scripts/html.sh rfcs/p1
3 # SPDX-FileCopyrightText: 2023 Julien Moutinho (adh14) <julm+rezine@autogeree.net>
4 # SPDX-License-Identifier: AGPL-3.0-or-later
5 set -eu
6 . "${0%/*}"/lib.sh
7 set -x
8
9 for rfcDir in "$@"; do
10 rfcDirMetadata
11 rfcRevision
12 rfcHTML -o "$rfcDir"/index.html
13 done