Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
gitpod-io
GitHub Repository: gitpod-io/gitpod
Path: blob/main/components/gitpod-protocol/BUILD.yaml
2492 views
1
packages:
2
- name: all
3
type: generic
4
deps:
5
- :lib
6
- components/gitpod-protocol/go:lib
7
- components/gitpod-protocol/java:lib
8
- name: lib
9
type: yarn
10
srcs:
11
- "data/*.json"
12
- "src/**"
13
- "test/**"
14
- .eslintrc
15
- mocha.opts
16
- package.json
17
config:
18
packaging: library
19
yarnLock: ${coreYarnLockBase}/yarn.lock
20
tsconfig: tsconfig.json
21
commands:
22
# leeway executes the build and test step in the wrong order, so we need to call a special script that builds before testing
23
test: ["yarn", "test:leeway"]
24
- name: gitpod-schema
25
type: generic
26
srcs:
27
- data/gitpod-schema.json
28
config:
29
commands:
30
- ["mv", "data/gitpod-schema.json", "gitpod-schema.json"]
31
- name: scripts
32
type: generic
33
srcs:
34
- "scripts/*"
35
config:
36
commands:
37
- ["sh", "-c", "mv scripts/* ."]
38
- name: publish
39
type: generic
40
env:
41
- DO_PUBLISH=${publishToNPM}
42
argdeps:
43
- npmPublishTrigger
44
deps:
45
- :lib
46
- :scripts
47
config:
48
commands:
49
- ["node", "components-gitpod-protocol--scripts/publish.js", "${version}", "components-gitpod-protocol--lib/package"]
50
51