buit base functions

This commit is contained in:
2021-08-25 13:27:31 +04:00
parent 1a7035164b
commit e5334cbd3c
61 changed files with 124 additions and 908 deletions

11
install.sh Normal file
View 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