patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob 85bd5a51221d85defc451be0dea013db99512181 344 bytes (raw)
name: Documentation/scripts/build.sh 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
 
#!/bin/sh -e
# SPDX-FileCopyrightText: 2022 Unikie
# SPDX-License-Identifier: EUPL-1.2+

cd "$(dirname "$0")/.."

if [ ! -w . -a ! -w .jekyll-cache ]; then
	JEKYLLFLAGS=--disable-disk-cache
fi

find . '(' '!' -path ./_site -o -prune ')' \
	-a -name '*.drawio' \
	-exec drawio -xf svg '{}' ';'
jekyll build $JEKYLLFLAGS -b /doc -d "${1:-_site}"

debug log:

solving 85bd5a5 ...
found 85bd5a5 in https://spectrum-os.org/git/spectrum

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).