Skip to content

Commit f177afa

Browse files
committed
fix: homebrew周りの修正
1 parent 93a6b6e commit f177afa

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

scripts/homebrew_setup.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ fi
1414
# パッケージリストを更新
1515
brew update
1616

17-
# インストール済みのbrewパッケージを書き出す(VSCode関連を除く)
18-
brew bundle dump --force --file=~/dotfiles/homebrew/Brewfile
19-
sed -i '' '/^vscode /d' ~/dotfiles/homebrew/Brewfile
20-
2117
# Brewfileを元にインストール
2218
brew bundle --file=~/dotfiles/homebrew/Brewfile
2319

scripts/update/homebrew_update.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/usr/bin/env zsh
2+
set -euo pipefail
3+
4+
echo "「Homebrew」のアップデートを開始しました"
5+
6+
# パッケージリストを更新
7+
brew update
8+
9+
# インストール済みのbrewパッケージを書き出す(VSCode関連を除く)
10+
brew bundle dump --force --file=~/dotfiles/homebrew/Brewfile
11+
sed -i '' '/^vscode /d' ~/dotfiles/homebrew/Brewfile
12+
13+
echo "「Homebrew」のアップデートが完了しました"

0 commit comments

Comments
 (0)