mirror of
https://github.com/lil-org/wallet.git
synced 2024-12-27 14:35:55 +03:00
21 lines
356 B
Bash
Executable File
21 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
rm -rf ../Pods
|
|
|
|
PLIST_PATH="Secrets.plist"
|
|
|
|
if [ -z "${INFURA_KEY}" ]; then
|
|
echo "error: the INFURA_KEY environment variable is not set or empty"
|
|
exit 1
|
|
fi
|
|
|
|
/usr/libexec/PlistBuddy -c "Set :InfuraKey ${INFURA_KEY}" "${PLIST_PATH}"
|
|
|
|
echo "INFURA_KEY has been written to ${PLIST_PATH}"
|
|
|
|
brew install cocoapods
|
|
pod install
|
|
|
|
exit 0
|