Skip to content

Commit

Permalink
Revert "feat: add Homebrew"
Browse files Browse the repository at this point in the history
This reverts commit 040c65e.
  • Loading branch information
YasminTeles committed Mar 10, 2024
1 parent 0328508 commit ed92a71
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 19 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: help check_clean del ssh backup update
.PHONY: help check_clean del ssh backup

help: ## Show help.
@printf "A set of environment management commands.\n"
Expand Down Expand Up @@ -26,7 +26,3 @@ ssh: ## Copy the SSH public key to your clipboard.
backup: ## Back up your applications list.
@echo "Backing up your applications list..."
@brew bundle dump --file=./brew/Brewfile --force

update: ## Updating your productivity apps.
@brew update
@brew upgrade
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ All my command-line tools, applications, and their configurations. Have fun 😎
- Create a Projects folder
- A bunch of productivity apps. See [Brewfile](/brew/Brewfile) for more information.
- Oh My Zsh
- Homebrew

#### Helper

Expand Down
8 changes: 1 addition & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,7 @@ mkdir ~/Projects

# -- Homebrew -----------------------------------------------------------------
step_msg "Installing homebrew"
NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
if [[ "$OSTYPE" == "linux-gnu"* ]]
then
echo "/home/linuxbrew/.linuxbrew/bin:/usr/bin:/bin" >> $PATH
else
echo "/usr/local/bin:/usr/bin:/bin" >> $PATH
fi
brew update
brew install git stow

# -- Dotfiles -----------------------------------------------------------------
Expand Down
7 changes: 1 addition & 6 deletions uninstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
set -e

# Print a step description
TOTAL_STEPS=6
TOTAL_STEPS=5
STEP=1
function step_msg {
printf "\n[$STEP/$TOTAL_STEPS] $1...\n";
((STEP++))
}

# -- Getting started -----------------------------------------------------------
echo "This script will remove all configurations of the environment."

if [ ! $CI ]
Expand Down Expand Up @@ -40,10 +39,6 @@ then
rm -rf ~/.oh-my-zsh
brew uninstall --force $(brew list)

# -- Homebrew ----------------------------------------------------------------
step_msg "Removing Homebrew"
NONINTERACTIVE=1 bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall.sh)"

# -- Dotfiles ----------------------------------------------------------------
step_msg "Removing Dotfiles directory"
rm -rf ~/.dotfiles
Expand Down

0 comments on commit ed92a71

Please sign in to comment.