zenith-install - ./gitignore updated
./configure updatex
This commit is contained in:
parent
0724b79b8d
commit
5df6511bee
2 changed files with 16 additions and 6 deletions
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -5,6 +5,5 @@ zenith.db
|
|||
zenith.log
|
||||
zenith.db-shm
|
||||
zenith.db-wal
|
||||
installer/*.tar.gz
|
||||
installer/*.tar.gz.prev
|
||||
docker_files/zenith-docker_*
|
||||
docker_files/zenith-docker_0.6.0.0.7z
|
||||
docker_files/zenith-docker_0.6.0.0/zenith-docker_0.6.0.0.tar
|
||||
|
|
17
configure
vendored
17
configure
vendored
|
@ -1,6 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
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
|
||||
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" | tee -a ~/.bashrc
|
||||
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell" | tee -a ~/.bashrc
|
||||
fi
|
||||
echo "... Reloading paths"
|
||||
source ~/.bashrc
|
||||
echo "... building zcash-haskell"
|
||||
cd zcash-haskell && cabal build
|
||||
echo
|
||||
echo "Done"
|
||||
echo
|
||||
|
|
Loading…
Reference in a new issue