Repository navigation
Expand file tree
/
Copy pathTaskfile.yml
More file actions
99 lines (80 loc) · 2.44 KB
/
Copy pathTaskfile.yml
File metadata and controls
99 lines (80 loc) · 2.44 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# https://taskfile.dev — `task` lists the tasks. The shell of shell.nix supplies the tools.
version: "3"
vars:
PORT: "8788"
tasks:
default:
cmds:
- task --list
silent: true
install:
desc: Install the dependencies
cmds:
- pnpm install
typecheck:
desc: Examine the types of all packages
cmds:
- pnpm -r typecheck
test:
desc: Test all packages
cmds:
- pnpm -r test
lint:
desc: Examine the text with memelint
cmds:
- memelint check
check:
desc: Types, tests and text
cmds:
- task: typecheck
- task: test
- task: lint
build:
desc: Build the web client
cmds:
- pnpm --filter @patchix/ui build
dev:
desc: Build the web client again on each change
cmds:
- pnpm --filter @patchix/ui dev
storybook:
desc: Start Storybook
cmds:
- pnpm --filter @patchix/ui storybook
start:
desc: "Build the web client and start the server (http://127.0.0.1:{{.PORT}}/)"
deps: [build]
cmds:
- node packages/server/src/main.ts --port {{.PORT}}
sync:
desc: "Make the state of a campaign agree with GitHub (the issue, the pull requests and the branches of the fork): task sync -- cacert"
cmds:
- node packages/fleet/src/cli.ts sync {{.CLI_ARGS}}
run:
desc: "Start one run, or a check-only run with --check: task run -- cacert <key> [--check]"
cmds:
- node packages/fleet/src/cli.ts run {{.CLI_ARGS}}
fleet:
desc: "Start the fleet of a campaign: task fleet -- cacert"
cmds:
- node packages/fleet/src/cli.ts fleet {{.CLI_ARGS}}
worktree:
desc: "Make a worktree for a person: task worktree -- cacert <key>"
cmds:
- node packages/fleet/src/cli.ts worktree {{.CLI_ARGS}}
base:
desc: "Update the base of a campaign: task base -- cacert"
cmds:
- node packages/fleet/src/cli.ts base {{.CLI_ARGS}}
adopt:
desc: "Adopt a branch of the fork, with its directory, its draft and its links: task adopt -- cacert <key>"
cmds:
- node packages/fleet/src/cli.ts adopt {{.CLI_ARGS}}
import:
desc: "Import the branches of a repository: task import -- cacert file:///path/to/nixpkgs --descriptions /path/to/nixpkgs/issues"
cmds:
- node packages/fleet/src/cli.ts import {{.CLI_ARGS}}
refresh:
desc: "Read the pull request states of a campaign: task refresh -- cacert"
cmds:
- node packages/fleet/src/cli.ts refresh {{.CLI_ARGS}}