-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcollector.toml
More file actions
69 lines (64 loc) · 2.18 KB
/
Copy pathcollector.toml
File metadata and controls
69 lines (64 loc) · 2.18 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Sources the `poll` command assembles the definition tree from.
#
# Definitions are no longer files at rest in this repository. They live inside
# the producers that implement them -- taurus registers them through
# `inventory`, hercules actions through `Action` -- and are only recoverable by
# running those producers. `code0-cli poll` clones each source at its pinned
# ref, runs its export command into a scratch directory, copies the result
# here, and deletes the clone.
# Where the assembled tree is written. Every other command defaults to this
# same path, so `poll` followed by `report` / `publish` needs no extra flags.
out = "./definitions"
# `layout` describes where a producer's export command writes:
# "module" -- writes one module directly into the directory it is given, so
# it is handed `<out>/<module>`. Requires exactly one entry in
# `modules`. This is what `hercules::Action::export` does.
# "tree" -- writes one directory per module into the directory it is
# given, so it is handed `<out>`. This is what a taurus export
# built on `build_modules()` does.
[[source]]
name = "taurus"
repo = "https://github.com/code0-tech/taurus"
ref = "main"
# Taurus exports through a taurus-core example rather than a subcommand on the
# taurus binary, so there is no server to avoid starting here.
export = [
"cargo",
"run",
"--release",
"--quiet",
"-p",
"taurus-core",
"--example",
"export_definitions",
"--",
]
layout = "tree"
modules = [
"taurus-boolean",
"taurus-color",
"taurus-control",
"taurus-date",
"taurus-file",
"taurus-http",
"taurus-list",
"taurus-number",
"taurus-object",
"taurus-text",
]
[[source]]
name = "rest-action"
repo = "https://github.com/code0-tech/centaurus"
ref = "main"
workdir = "actions/rest-action"
export = ["cargo", "run", "--release", "--quiet", "--", "export"]
layout = "module"
modules = ["rest-action"]
[[source]]
name = "cron-action"
repo = "https://github.com/code0-tech/centaurus"
ref = "main"
workdir = "actions/cron-action"
export = ["cargo", "run", "--release", "--quiet", "--", "export"]
layout = "module"
modules = ["cron-action"]