zenith/configure

18 lines
558 B
Text
Raw Normal View History

#!/bin/bash
2024-07-16 13:53:42 +00:00
echo "Configuring Zenith...."
if grep -q "local/share/zcash-haskell" "$HOME/.bashrc"; then
echo "... Paths already exist"
else
# Set Paths
echo "... Adding new zenith paths to local configuration"
echo "export PKG_CONFIG_PATH=$HOME/.local/share/zcash-haskell:\$PKG_CONFIG_PATH" | tee -a ~/.bashrc
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell:\$LD_LIBRARY_PATH" | tee -a ~/.bashrc
fi
echo "... Reloading paths"
source ~/.bashrc
2024-07-16 13:53:42 +00:00
echo "... building zcash-haskell"
cd zcash-haskell && cabal build
2024-07-16 13:53:42 +00:00
echo
echo "Done"
echo