mirror of
https://github.com/lil-org/tokenary.git
synced 2024-11-22 12:23:45 +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
|