Convert bundle install steps to function
This commit is contained in:
28
install
28
install
@@ -119,15 +119,23 @@ else
|
||||
gem install bundler
|
||||
fi
|
||||
|
||||
echo "Installing required Ruby gems..."
|
||||
bundle install --without test development
|
||||
}
|
||||
|
||||
|
||||
install_beef () {
|
||||
|
||||
echo "Installing required Ruby gems..."
|
||||
bundle install --without test development
|
||||
|
||||
echo
|
||||
echo "=========================================="
|
||||
echo
|
||||
info "Install completed successfully!"
|
||||
info "Run './beef' to launch BeEF"
|
||||
echo
|
||||
echo "=========================================="
|
||||
echo
|
||||
}
|
||||
|
||||
|
||||
echo
|
||||
echo "=========================================="
|
||||
echo
|
||||
info "Install completed successfully!"
|
||||
info "Run './beef' to launch BeEF"
|
||||
echo
|
||||
echo "=========================================="
|
||||
echo
|
||||
|
||||
|
||||
Reference in New Issue
Block a user