Skip to content

Commit 8630fee

Browse files
author
protobuf-ci-cd
committed
chore: add makefile
1 parent 2513104 commit 8630fee

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

Makefile

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
WORKDIR = $(shell pwd)
2+
3+
LIBRARIES = $(shell find packages packages_generated -mindepth 1 -maxdepth 1 -type d)
4+
5+
build:
6+
pnpm turbo build
7+
8+
install-dependencies:
9+
pnpm install
10+
11+
format:
12+
pnpm run format
13+
14+
format-check:
15+
pnpm run format:check
16+
17+
typing:
18+
pnpm turbo typecheck
19+
20+
lint:
21+
pnpm turbo lint
22+
23+
test:
24+
pnpm turbo test
25+
26+
test-coverage:
27+
pnpm run test:coverage
28+
29+
doc:
30+
pnpm run doc
31+
32+
prebuild:
33+
pnpm run prebuild
34+
35+
generate-alias:
36+
pnpm run generateAlias
37+
38+
generate-packages:
39+
pnpm run generatePackages
40+
41+
generate-global-sdk-package:
42+
pnpm run generateGlobalSdkPackage
43+
44+
publish: install-dependencies
45+
pnpm run build
46+
pnpm lerna changed
47+
pnpm exec lerna publish -y --registry $(NPM_PUBLISH_REGISTRY) --ignore-scripts

0 commit comments

Comments
 (0)