-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnet-task.yml
More file actions
46 lines (45 loc) · 1.33 KB
/
net-task.yml
File metadata and controls
46 lines (45 loc) · 1.33 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
version: 1
name: markdown-mindmap
tasks:
frontend:test:
shell: |
cd modules/frontend
# npm run lint
# TODO: turn on lint + tests
frontend:lint:
shell: |
cd modules/frontend
npm run lint
all:ci:start:
description: force a CI build in the current branch
os: unix
shell: bundle exec cody start --branch=$(git branch --show-current)
frontend:ci:package:
description: Builds it. Mostly used only by CI, but not exclusively as ONLY builds
shell: |
cd modules/frontend
npm run build
frontend:start_app:
description: how to launch the frontend
shell: |
cd modules/frontend/
npm run dev
frontend:install:
description: could be named install_dependencies. Sets up corepack etc
os: unix
shell: |
cd modules/frontend/
yes | npx corepack install # prompts the user, blergh
npx corepack yarn install
frontend:lint:
os: unix
shell: cd modules/frontend; npm run lint
frontend:list:todos:
description: prints TODOs in the codebase
os: unix
shell: cd modules/frontend; rg --no-heading TODO src/**
frontend:list:todos:plain:
description: same as frontend:list:todos BUT only prints file locations (does not print context)
os: unix
shell: |
cd modules/frontend; rg -n --no-heading TODO src/** | cut -d: -f1,2