-
Notifications
You must be signed in to change notification settings - Fork 8
/
Makefile
52 lines (47 loc) · 1.74 KB
/
Makefile
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
# this makefile was implemented to run a few of commands that will work against the whole repo
release:
yarn lerna version --force-publish
help:
@echo "\n- To build a specific project, you can do that by executing 'make build project=<project_name>'."
@echo "\n- To run a specific project, you can do that by executing 'make run project=<project_name>'."
@echo "\n- To relese the repo you can do that by executing 'make release'.\n"
run:
ifeq ($(project), playground)
cd packages/playground && yarn dev
else ifeq ($(project), dashboard)
cd packages/dashboard && yarn serve
else ifeq ($(project), UI)
cd packages/UI && yarn dev
endif
build:
ifeq ($(project), dashboard)
cd packages/dashboard && yarn build
else ifeq ($(project), grid_client)
cd packages/grid_client && yarn build
else ifeq ($(project), grid_http_server)
cd packages/grid_http_server && yarn build
else ifeq ($(project), grid_rmb_server)
cd packages/grid_rmb_server && yarn build
else ifeq ($(project), rmb_direct_client)
cd packages/rmb_direct_client && yarn build
else ifeq ($(project), rmb_peer_client)
cd packages/rmb_peer_client && yarn build
else ifeq ($(project), rmb_peer_server)
cd packages/rmb_peer_server && yarn build
else ifeq ($(project), stats)
cd packages/stats && yarn build
else ifeq ($(project), tfchain_client)
cd packages/tfchain_client && yarn build
else ifeq ($(project), weblets)
cd packages/weblets/playground && yarn build
else ifeq ($(project), playground)
cd packages/playground && yarn build
else ifeq ($(project), graphql_client)
cd packages/graphql_client && yarn build
else ifeq ($(project), gridproxy_client)
cd packages/gridproxy_client && yarn build
else ifeq ($(project), UI)
cd packages/UI && yarn build
else
yarn lerna run build --no-private
endif