Merge branch 'milestone2' into zenith-install
This commit is contained in:
commit
b43dc57908
3 changed files with 9 additions and 3 deletions
|
@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- Upgraded to GHC 9.6.5
|
- Upgraded to GHC 9.6.5
|
||||||
- Implemented config and data folder
|
- Implemented config and data folder
|
||||||
|
- Improved the `configure` script for installation
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
|
6
configure
vendored
6
configure
vendored
|
@ -1,12 +1,12 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "Configuring zenith...."
|
echo "Configuring Zenith...."
|
||||||
if grep -q "local/share/zcash-haskell" "$HOME/.bashrc"; then
|
if grep -q "local/share/zcash-haskell" "$HOME/.bashrc"; then
|
||||||
echo "... Paths already exist"
|
echo "... Paths already exist"
|
||||||
else
|
else
|
||||||
# Set Paths
|
# Set Paths
|
||||||
echo "... Adding new zenith paths to local configuration"
|
echo "... Adding new zenith paths to local configuration"
|
||||||
echo "export PKG_CONFIG_PATH=$HOME/.local/share/zcash-haskell" | tee -a ~/.bashrc
|
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" | tee -a ~/.bashrc
|
echo "export LD_LIBRARY_PATH=$HOME/.local/share/zcash-haskell:\$LD_LIBRARY_PATH" | tee -a ~/.bashrc
|
||||||
fi
|
fi
|
||||||
echo "... Reloading paths"
|
echo "... Reloading paths"
|
||||||
source ~/.bashrc
|
source ~/.bashrc
|
||||||
|
|
5
install
Executable file
5
install
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "Deploying Zenith executable..."
|
||||||
|
ln -s ${PWD}/dist-newstyle/build/x86_64-linux/ghc-9.6.5/zenith-0.6.0.0/build/zenith/zenith ~/.local/bin/zenith
|
||||||
|
echo "Done."
|
Loading…
Reference in a new issue