zenith-install - ./gitignore updated

./configure updatex
This commit is contained in:
Rene V. Vergara A. 2024-07-15 21:15:02 -04:00
parent 0724b79b8d
commit 5df6511bee
2 changed files with 16 additions and 6 deletions

5
.gitignore vendored
View file

@ -5,6 +5,5 @@ zenith.db
zenith.log zenith.log
zenith.db-shm zenith.db-shm
zenith.db-wal zenith.db-wal
installer/*.tar.gz docker_files/zenith-docker_0.6.0.0.7z
installer/*.tar.gz.prev docker_files/zenith-docker_0.6.0.0/zenith-docker_0.6.0.0.tar
docker_files/zenith-docker_*

17
configure vendored
View file

@ -1,6 +1,17 @@
#!/bin/bash #!/bin/bash
echo "Configuring zenith...."
echo "export PKG_CONFIG_PATH=$HOME/.local/share/zcash-haskell:\$PKG_CONFIG_PATH" | tee -a ~/.bashrc if grep -q "local/share/zcash-haskell" "$HOME/.bashrc"; then
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell:\$LD_LIBRARY_PATH" | tee -a ~/.bashrc 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" | tee -a ~/.bashrc
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell" | tee -a ~/.bashrc
fi
echo "... Reloading paths"
source ~/.bashrc source ~/.bashrc
echo "... building zcash-haskell"
cd zcash-haskell && cabal build cd zcash-haskell && cabal build
echo
echo "Done"
echo