Skip to content

Commit 8fe902e

Browse files
committed
feat: xcodeのセットアップスクリプトを作成
1 parent 937d2da commit 8fe902e

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

scripts/setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ INSTALL_DIR="$HOME/dotfiles"
88
sh "$INSTALL_DIR/scripts/homebrew_setup.sh"
99
sh "$INSTALL_DIR/scripts/asdf_setup.sh"
1010
sh "$INSTALL_DIR/scripts/vscode_setup.sh"
11+
sh "$INSTALL_DIR/scripts/xcode_setup.sh"
1112
echo "「dotfiles」のセットアップが完了しました"

scripts/xcode_setup.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env zsh
2+
set -euo pipefail
3+
4+
echo "「Xcode」のセットアップを開始しました"
5+
6+
# podのインストール
7+
gem install cocoapods
8+
9+
# xcodebuildのライセンスを受諾
10+
yes | sudo xcodebuild -license accept || true
11+
12+
echo "「Xcode」のセットアップが完了しました"

0 commit comments

Comments
 (0)