forked from OneKeyHQ/cross-inpage-provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rsync-npm.sh
38 lines (28 loc) · 1.76 KB
/
rsync-npm.sh
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
#!/usr/bin/env bash
syncFiles() {
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/events/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/cross-inpage-provider-events/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/core/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/cross-inpage-provider-core/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/errors/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/cross-inpage-provider-errors/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/types/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/cross-inpage-provider-types/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/injected/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/cross-inpage-provider-injected/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/providers/inpage-providers-hub/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/inpage-providers-hub/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/extension/extension-bridge-hosted/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/extension-bridge-hosted/
rsync -avz --exclude node_modules \
~/workspace/onekey/cross-inpage-provider/packages/webview/ \
~/workspace/onekey-app-monorepo/node_modules/@onekeyfe/onekey-cross-webview/
}
syncFiles