-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathrunme.yaml
More file actions
62 lines (56 loc) · 1.94 KB
/
runme.yaml
File metadata and controls
62 lines (56 loc) · 1.94 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
# EXPERIMENTAL: This is a work in progress and may change at any time.
# The idea behind runme.yaml is to provide a way to define consistent
# configuration per project, regardless whether blocks from Markdown
# are executed in VS Code or using the runme CLI.
#
# You can test it with the "runme beta" commands.
version: v1alpha1
# config settings that apply at the repo-level
repo:
# The list of filters to apply to blocks.
# "condition" must return a boolean value.
# You can learn about the syntax at https://expr-lang.org/docs/language-definition.
# Available fields are defined in [config.FilterDocumentEnv] and [config.FilterBlockEnv].
filters:
# Do not allow unnamed code blocks.
- type: "FILTER_TYPE_BLOCK"
condition: "is_named"
# Do not allow code blocks without a language.
- type: "FILTER_TYPE_BLOCK"
condition: "language != ''"
# Do not allow code blocks starting with "test".
- type: "FILTER_TYPE_BLOCK"
condition: "!hasPrefix(name, 'test')"
# config settings that often use default or a set at points of integration
core:
# Indicate the root of the runme project. "." means that
# the project root directory will be used.
project:
dir: "."
# If true, the project root will be searched upwards starting from "dir".
# If found, the repo root will be used as the project root.
find_repo_upward: true
ignore:
- "node_modules"
- ".venv"
disable_gitignore: false
# It's possible to point at a single file as well.
# filename: "README.md"
# List of dotenv files to load.
env:
use_system_env: true
sources:
- ".env"
- ".env.local"
server:
# Also unix:///path/to/file.sock is supported.
address: localhost:7890
tls:
enabled: true
# If not specified, default paths will be used.
# cert_file: "/path/to/cert.pem"
# key_file: "/path/to/key.pem"
log:
enabled: true
path: "/var/tmp/runme.log"
verbose: true