-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMakefileClient
37 lines (30 loc) · 1.32 KB
/
MakefileClient
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
.DEFAULT_GOAL := help
.PHONY: link link-yarn unlink unlink-yarn
SEMAPPS_PATH=./../../semapps
install :
npm install --force
rollup :
npm run dev --prefix $(SEMAPPS_PATH)/src/frontend/packages/archipelago-layout &
npm run dev --prefix $(SEMAPPS_PATH)/src/frontend/packages/semantic-data-provider
link:
cd $(SEMAPPS_PATH)/src/frontend/packages/archipelago-layout && npm link
npm link @semapps/archipelago-layout
cd $(SEMAPPS_PATH)/src/frontend/packages/semantic-data-provider && npm link
npm link @semapps/semantic-data-provider
link-yarn:
cd $(SEMAPPS_PATH)/src/frontend/packages/archipelago-layout && yarn link
yarn link @semapps/archipelago-layout
cd $(SEMAPPS_PATH)/src/frontend/packages/semantic-data-provider && yarn link
yarn link @semapps/semantic-data-provider
unlink:
npm unlink @semapps/archipelago-layout --no-save
cd $(SEMAPPS_PATH)/src/frontend/packages/archipelago-layout && npm unlink
npm unlink @semapps/semantic-data-provider --no-save
cd $(SEMAPPS_PATH)/src/frontend/packages/semantic-data-provider && npm unlink
make install
unlink-yarn:
yarn unlink @semapps/archipelago-layout --no-save
cd $(SEMAPPS_PATH)/src/frontend/packages/archipelago-layout && yarn unlink
yarn unlink @semapps/semantic-data-provider --no-save
cd $(SEMAPPS_PATH)/src/frontend/packages/semantic-data-provider && yarn unlink
make install