Copy all of Bash-it during the helper tests

pull/974/head
Nils Winkler 2017-06-06 07:26:50 +02:00
parent 732b287a57
commit 87270c2962
1 changed files with 4 additions and 2 deletions

View File

@ -9,9 +9,11 @@ cite _about _param _example _group _author _version
load ../../lib/helpers
function local_setup {
mkdir -p $BASH_IT/plugins
mkdir -p $BASH_IT
lib_directory="$(cd "$(dirname "$0")" && pwd)"
cp -r $lib_directory/../../plugins/available $BASH_IT/plugins
cp -r $lib_directory/../.. $BASH_IT
mkdir -p $BASH_IT/aliases/enabled
mkdir -p $BASH_IT/completion/enabled
mkdir -p $BASH_IT/plugins/enabled
}