-
Notifications
You must be signed in to change notification settings - Fork 13
/
whiz.yaml
70 lines (62 loc) · 1.6 KB
/
whiz.yaml
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
70
# FIXME: ghjk created processes are leaky. If a task
# like the gate tasks are terminated manually, the typegate
# process will leak in the bg and hog the port
env:
TYPEGRAPH_VERSION: "0.0.3"
CLICOLOR_FORCE: "1"
TIMER_MAX_TIMEOUT_MS: "30000"
gate1: &tp
watch:
- "src/typegate/src/**/*.ts"
- "src/typegate/{engine,standalone}/**/*.rs"
- "src/{xtask,mt_deno}/**/*.rs"
command: ghjk x dev-gate1
pipe:
"^.+DEBUG http .*$": whiz://http
gate2:
<<: *tp
command: ghjk x dev-gate2
http:
entrypoint: "/dev/null"
meta-cli:
workdir: .
watch:
- "src/meta-cli/src/**/*.rs"
- "src/typegate/src/**/*.ts"
- "src/typegate/core/**/*.rs"
- "src/mt_deno/**/*"
depends_on:
- typegraph
command: ghjk x dev-eg-tgraphs
typegraph:
watch:
- "src/typegraph/core/src/**/*.rs"
- "src/typegraph/core/wit/*.wit"
- "src/typegraph/deno/sdk/src/**/*.ts"
- "src/metagen/**/*"
command: |
ghjk x build-tgraph
system_graphs:
watch:
- src/typegate/src/typegraphs/*.py
- src/typegraph/**/*.py
depends_on:
- typegraph
command: ghjk x build-sys-tgraphs
setup:
workdir: .
watch:
- src/typegraph/python/pyproject.toml
- docs/metatype.dev/package.json
env:
GHJK_VERSION: "v0.2.1"
command: |
set -e
curl -fsSL https://raw.githubusercontent.com/metatypedev/ghjk/$GHJK_VERSION/install.sh | bash
. $(ghjk print share-dir-path)/env.sh
ghjk sync dev
echo "cd ./. to refresh env vars"
ghjk x install-py
ghjk x install-ts
ghjk x install-website
echo 'NOTE: To install system dependencies, do "ghjk x install-sys | bash"'