buit base functions
This commit is contained in:
11
install.sh
Normal file
11
install.sh
Normal file
@@ -0,0 +1,11 @@
|
||||
# This script setups up the project P2PRC
|
||||
# Call: sh install.sh <name of binary>
|
||||
echo '# Add the following paths to .bashrc or .zshrc based on the configuration you have set'
|
||||
echo export P2PRC=$PWD
|
||||
echo export PATH=$PWD:\${PATH}
|
||||
export P2PRC=${PWD}
|
||||
export PATH=${PWD}:${PATH}
|
||||
|
||||
# Expects an argument of the name of the binary
|
||||
go build -o ${1}
|
||||
./p2prc --dc
|
||||
Reference in New Issue
Block a user