Repository navigation
Expand file tree
/
Copy pathlauncher.sh
More file actions
executable file
·42 lines (39 loc) · 1.88 KB
/
Copy pathlauncher.sh
File metadata and controls
executable file
·42 lines (39 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/usr/bin/env bash
# SPDX-License-Identifier: MPL-2.0
# SPDX-FileCopyrightText: 2026 Jonathan D.A. Jewell (hyperpolymath) <j.d.a.jewell@open.ac.uk>
#
# @launcher-deed begin
# ;; SPDX-License-Identifier: MPL-2.0
# (praxis-deed
# :schema-version "1.0.0"
# :canonical-name "xmlpull-zig-launcher"
# :beholding-chora #u5"estate/chora"
# (artefact :type "launcher" :version "0.1.0"
# :generator "provision-set")
# (app :name "xmlpull-zig" :display "xmlpull-zig"
# :url "https://github.com/hyperpolymath/xmlpull-zig" :archetype "library")
# (compliance :standard-version "0.6.0"
# :standards ("launcher-standard.adoc"
# "PROVISIONING-STANDARD.adoc"))
# (modes :accepted ("--setup" "--doctor" "--heal" "--ai-setup" "--help" "--version"
# "--start" "--stop" "--status" "--auto" "--integ" "--disinteg"))
# (platforms :supported ("linux" "macos" "windows"))
# (lifecycle-phases :covered ("provision" "diagnose" "heal")
# :deferred ("install" "run")))
# @launcher-deed end
#
# The launcher for a library / tool / theory / docs repository
# (launcher-standard 0.6.0, archetype profile). Every mode is implemented in
# build/just/provision-modes.sh, and every provisioning mode delegates to the
# Justfile. This file is minted by `provision-set`; do not hand-edit it.
# Repo-specific facts belong in .machine_readable/descriptiles/provisioning_praxis.deed.
set -uo pipefail
REPO_DIR="$(cd "$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" && pwd)"
if [ ! -f "$REPO_DIR/build/just/provision-modes.sh" ]; then
echo "launcher.sh: build/just/provision-modes.sh is missing — this checkout is incomplete." >&2
echo "Re-clone, or restore it: git checkout -- build/just/provision-modes.sh" >&2
exit 1
fi
# shellcheck source=build/just/provision-modes.sh
. "$REPO_DIR/build/just/provision-modes.sh"
hp_launcher_main "$@"