-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
41 lines (34 loc) · 1.12 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
.PHONY: build
build: node_modules
cd evm && $(MAKE)
cd solana && $(MAKE) && $(MAKE) anchor-build-idl
npm run build
.PHONY: clean
clean: fast-transfer-clean
rm -rf e2e/node_modules
cd evm && $(MAKE) clean
cd solana && $(MAKE) clean
npm run clean
rm -rf node_modules
.PHONY: fast-transfer-sync
fast-transfer-sync:
git submodule update --init --checkout --recursive
git submodule sync --recursive
.PHONY: fast-transfer-clean
fast-transfer-clean:
rm -rf lib/example-liquidity-layer
$(MAKE) fast-transfer-sync
.PHONY: fast-transfer-setup
fast-transfer-setup: fast-transfer-sync
cd lib/example-liquidity-layer/solana && $(MAKE) anchor-test-setup
cd lib/example-liquidity-layer/evm && $(MAKE) build
.PHONY: fast-transfer-sdk
fast-transfer-sdk: fast-transfer-setup
cd lib/example-liquidity-layer \
&& $(MAKE) build \
&& npm run build -w solana -w evm \
&& npm pack -w universal/ts -w solana -w evm
node_modules: fast-transfer-sdk
npm install -w solana lib/example-liquidity-layer/wormhole-foundation-example-liquidity-layer-*
npm install -w e2e lib/example-liquidity-layer/wormhole-foundation-example-liquidity-layer-*
npm ci