forked from valory-xyz/mech-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
25 lines (19 loc) · 914 Bytes
/
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
.PHONY: eject-packages
eject-packages:
rm -rf mech_client/helpers/p2p_libp2p_client
cp -r packages/valory/connections/p2p_libp2p_client mech_client/helpers/p2p_libp2p_client
rm -rf mech_client/helpers/acn
cp -r packages/valory/protocols/acn mech_client/helpers/acn
rm -rf mech_client/helpers/acn_data_share
cp -r packages/valory/protocols/acn_data_share mech_client/helpers/acn_data_share
.PHONY: copy-packages-local
copy-packages-local:
rm -rf packages/valory/connections/p2p_libp2p_client
cp -r ~/mech/packages/valory/connections/p2p_libp2p_client packages/valory/connections/p2p_libp2p_client
rm -rf packages/valory/protocols/acn
cp -r ~/mech/packages/valory/protocols/acn packages/valory/protocols/acn
rm -rf packages/valory/protocols/acn_data_share
cp -r ~/mech/packages/valory/protocols/acn_data_share packages/valory/protocols/acn_data_share
.PHONY: dist
dist: eject-packages
poetry build