47 lines
1.7 KiB
TOML
47 lines
1.7 KiB
TOML
# A run file: every slice one consumer takes from spr, and how.
|
|
#
|
|
# ./ctrl/ui.sh slice soleprint/common/slice/ui.example.toml
|
|
# ./ctrl/ui.sh slice <file> --list # resolved, nothing written
|
|
# ./ctrl/ui.sh check <file> # nothing written; exit 1 if stale
|
|
#
|
|
# Copy it beside the consumer it describes. A real one names that consumer's
|
|
# paths, so it never lives in spr — and for a vendored slice keep it (and the
|
|
# manifest it writes) outside the consumer's repository, with `dest` pointing in.
|
|
#
|
|
# Paths are relative to THIS FILE. An entry's value replaces the default for
|
|
# every key. Unknown keys are refused, every problem in one pass.
|
|
#
|
|
# This one runs against spr's own tree and writes under out/ (gitignored).
|
|
|
|
[defaults]
|
|
delivery = "dependency"
|
|
|
|
# Vue, named outright: what a small live page takes. Drop-in `package` layout —
|
|
# package.json + src/ — the shape an app links as `soleprint-ui`.
|
|
[[slice]]
|
|
name = "panels"
|
|
target = "vue"
|
|
dest = "out/panels"
|
|
manifest = "out/panels.slice.json"
|
|
use = ["Panel", "SplitPane", "LogRenderer"]
|
|
|
|
# The same pieces vendored: corp names, no headers, no stamp, scrubbed, and a
|
|
# `notice` stated on purpose (a path to a file, or "none").
|
|
[[slice]]
|
|
name = "panels-vendored"
|
|
target = "vue"
|
|
delivery = "vendored"
|
|
notice = "none"
|
|
dest = "out/panels-vendored"
|
|
manifest = "out/panels-vendored.slice.json"
|
|
use = ["Panel", "SplitPane"]
|
|
|
|
# Plain, read from a page's own markup: the jira vein's page uses panel and
|
|
# split, so that is what ui.css / ui.js carry — nothing else.
|
|
[[slice]]
|
|
name = "jira-page"
|
|
target = "plain"
|
|
dest = "out/jira-page"
|
|
manifest = "out/jira-page.slice.json"
|
|
scan = ["../../artery/veins/jira/ui/index.html"]
|