Skip to content

Commit

Permalink
Move extras to separate script
Browse files Browse the repository at this point in the history
Authored-by: Seth Boyles <[email protected]>
  • Loading branch information
sethboyles committed Apr 9, 2021
1 parent 6581ae0 commit 3d2a085
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
27 changes: 27 additions & 0 deletions install-extras.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
set -e
# bash-it / terminal
source ./install-scripts/bash.sh
source ./install-scripts/bash-it.sh
source ./install-scripts/vim.sh
source ./install-scripts/tmux.sh

# git setup
source ./install-scripts/git-config.sh
source ./install-scripts/git-hooks.sh
source ./install-scripts/git-author.sh

# update cred-alert-cli
source ./install-scripts/update-cred-alert.sh

if [ "$(uname)" = "Darwin" ]; then
echo "Installing OSX only scripts"
source ./install-scripts/ide-prefs.sh
source ./install-scripts/iterm2.sh
source ./install-scripts/keyboard.sh
source ./install-scripts/dock.sh
source ./install-scripts/spectacle.sh
else
source ./install-scripts/git-author-linux.sh
fi

source ./install-scripts/misc.sh
28 changes: 1 addition & 27 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,33 +18,7 @@ git pull
git remote set-url origin [email protected]:cloudfoundry/capi-workspace

source ./install-core.sh

# bash-it / terminal
source ./install-scripts/bash.sh
source ./install-scripts/bash-it.sh
source ./install-scripts/vim.sh
source ./install-scripts/tmux.sh

# git setup
source ./install-scripts/git-config.sh
source ./install-scripts/git-hooks.sh
source ./install-scripts/git-author.sh

# update cred-alert-cli
source ./install-scripts/update-cred-alert.sh

if [ "$(uname)" = "Darwin" ]; then
echo "Installing OSX only scripts"
source ./install-scripts/ide-prefs.sh
source ./install-scripts/iterm2.sh
source ./install-scripts/keyboard.sh
source ./install-scripts/dock.sh
source ./install-scripts/spectacle.sh
else
source ./install-scripts/git-author-linux.sh
fi

source ./install-scripts/misc.sh
source ./install-extras.sh

# Add gem dependencies for CAPI-Workspace
bundle
Expand Down

0 comments on commit 3d2a085

Please sign in to comment.