Heck's structured cross-platform bash setup
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

83 lines
2.8 KiB

#!/bin/bash
# Delete symlinks in the pEpPythonAdapter (to allow "project search")
function pEpPythonAdapterRmSymlinks() {
for i in $(find . -type l | grep -i lib); do { rm -v $i; }; done
}
# pEp Fresh Repo Clones
export PEP_LOCAL_CONF_DIR=$HOME/src/adapter/conf/
function clone_pEpEngine() {
git clone https://gitea.pep.foundation/pEp.foundation/pEpEngine.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.pEpEngine local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.pEpEngine .idea
}
function clone_pEpEngineHeck() {
git clone https://gitea.pep.foundation/heck/pEpEngine .
cp $PEP_LOCAL_CONF_DIR/local.conf.pEpEngine local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.pEpEngine .idea
}
function clone_pEpPythonAdapter() {
git clone https://gitea.pep.foundation/pEp.foundation/pEpPythonAdapter.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.pEpPythonAdapter local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.pEpPythonAdapter .idea
}
function clone_pEpJNIAdapter() {
git clone https://gitea.pep.foundation/pEp.foundation/pEpJNIAdapter.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.pEpJNIAdapter local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.pEpJNIAdapter .idea
}
function clone_pEpJSONAdapter() {
git clone https://gitea.pep.foundation/pEp.foundation/pEpJSONServerAdapter.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.pEpJSONAdapter local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.pEpJSONAdapter .idea
}
function clone_libpEpAdapter() {
git clone https://gitea.pep.foundation/pEp.foundation/libpEpAdapter.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.libpEpAdapter local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.libpEpAdapter .idea
}
function clone_rce() {
git clone https://gitea.pep.foundation/pEp.foundation/RCE .
cp $PEP_LOCAL_CONF_DIR/local.conf.rce local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.rce .idea
}
function clone_lipEpDatatypes() {
git clone https://gitea.pep.foundation/pEp.foundation/libpEpDatatypes.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.libpEpDatatypes local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.libpEpDatatypes .idea
}
function clone_libpEpTransport() {
git clone https://gitea.pep.foundation/pEp.foundation/libpEpTransport.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.libpEpTransport local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.libpEpTransport .idea
}
function clone_pitytest11() {
git clone https://gitea.pep.foundation/heck/PityTest11.git .
cp $PEP_LOCAL_CONF_DIR/local.conf.PityTest11 local.conf
cp -r $PEP_LOCAL_CONF_DIR/intellij/.idea.PityTest11 .idea
}
function clone_devWiki() {
git clone ssh://wiki/var/lib/gitit/wikidata .
}
function clone_libtorrent() {
git clone --recurse-submodules https://github.com/arvidn/libtorrent.git .
}
function mount_pepsioux() {
sudo mount -t nfs -o resvport pepsioux:/home/heck /Volumes/pepsioux
}
alias test_pEpPythonAdapter='python3 -c "import pEp;"'