-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsync.sh
executable file
·16 lines (15 loc) · 1.11 KB
/
sync.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
printf 'Sync is running!\nPress Ctrl + C to stop the script.\n'
while true; do
sleep 1
rsync -rc ./src ./TestProject/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./src ./TestProjectLatestRN/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./dist ./TestProject/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./dist ./TestProjectLatestRN/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./ios ./TestProject/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./ios ./TestProjectLatestRN/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -c ./RNFingerprintjsPro.podspec ./TestProject/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -c ./RNFingerprintjsPro.podspec ./TestProjectLatestRN/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./android ./TestProject/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
rsync -rc ./android ./TestProjectLatestRN/node_modules/@fingerprintjs/fingerprintjs-pro-react-native/
done