From ee5cbce89150ead940809e41e20968fb00d6ee6e Mon Sep 17 00:00:00 2001 From: dev-satoshi Date: Sat, 15 Aug 2026 19:30:56 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20setup=E3=82=B9=E3=82=AF=E3=83=AA?= =?UTF-8?q?=E3=83=97=E3=83=88=E3=82=92scripts/setup=E9=85=8D=E4=B8=8B?= =?UTF-8?q?=E3=81=AB=E7=A7=BB=E5=8B=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5 (1M context) --- install.sh | 2 +- scripts/setup.sh | 15 --------------- scripts/{ => setup}/android_setup.sh | 0 scripts/{ => setup}/asdf_setup.sh | 0 scripts/{ => setup}/homebrew_setup.sh | 0 scripts/{ => setup}/link_dotfiles.sh | 0 scripts/setup/setup.sh | 15 +++++++++++++++ scripts/{ => setup}/vscode_setup.sh | 0 scripts/{ => setup}/xcode_setup.sh | 0 9 files changed, 16 insertions(+), 16 deletions(-) delete mode 100644 scripts/setup.sh rename scripts/{ => setup}/android_setup.sh (100%) rename scripts/{ => setup}/asdf_setup.sh (100%) rename scripts/{ => setup}/homebrew_setup.sh (100%) rename scripts/{ => setup}/link_dotfiles.sh (100%) create mode 100644 scripts/setup/setup.sh rename scripts/{ => setup}/vscode_setup.sh (100%) rename scripts/{ => setup}/xcode_setup.sh (100%) diff --git a/install.sh b/install.sh index 42a2628..03108ed 100644 --- a/install.sh +++ b/install.sh @@ -11,4 +11,4 @@ else git clone https://github.com/dev-satoshi/dotfiles "$INSTALL_DIR" fi -sh "$INSTALL_DIR/scripts/setup.sh" +sh "$INSTALL_DIR/scripts/setup/setup.sh" diff --git a/scripts/setup.sh b/scripts/setup.sh deleted file mode 100644 index 9c1f602..0000000 --- a/scripts/setup.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/usr/bin/env zsh -set -euo pipefail - -echo "「dotfiles」のセットアップを開始しました" - -INSTALL_DIR="$HOME/dotfiles" - -sh "$INSTALL_DIR/scripts/link_dotfiles.sh" -sh "$INSTALL_DIR/scripts/homebrew_setup.sh" -sh "$INSTALL_DIR/scripts/asdf_setup.sh" -sh "$INSTALL_DIR/scripts/vscode_setup.sh" -sh "$INSTALL_DIR/scripts/xcode_setup.sh" -sh "$INSTALL_DIR/scripts/android_setup.sh" - -echo "「dotfiles」のセットアップが完了しました" diff --git a/scripts/android_setup.sh b/scripts/setup/android_setup.sh similarity index 100% rename from scripts/android_setup.sh rename to scripts/setup/android_setup.sh diff --git a/scripts/asdf_setup.sh b/scripts/setup/asdf_setup.sh similarity index 100% rename from scripts/asdf_setup.sh rename to scripts/setup/asdf_setup.sh diff --git a/scripts/homebrew_setup.sh b/scripts/setup/homebrew_setup.sh similarity index 100% rename from scripts/homebrew_setup.sh rename to scripts/setup/homebrew_setup.sh diff --git a/scripts/link_dotfiles.sh b/scripts/setup/link_dotfiles.sh similarity index 100% rename from scripts/link_dotfiles.sh rename to scripts/setup/link_dotfiles.sh diff --git a/scripts/setup/setup.sh b/scripts/setup/setup.sh new file mode 100644 index 0000000..1276516 --- /dev/null +++ b/scripts/setup/setup.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env zsh +set -euo pipefail + +echo "「dotfiles」のセットアップを開始しました" + +INSTALL_DIR="$HOME/dotfiles" + +sh "$INSTALL_DIR/scripts/setup/link_dotfiles.sh" +sh "$INSTALL_DIR/scripts/setup/homebrew_setup.sh" +sh "$INSTALL_DIR/scripts/setup/asdf_setup.sh" +sh "$INSTALL_DIR/scripts/setup/vscode_setup.sh" +sh "$INSTALL_DIR/scripts/setup/xcode_setup.sh" +sh "$INSTALL_DIR/scripts/setup/android_setup.sh" + +echo "「dotfiles」のセットアップが完了しました" diff --git a/scripts/vscode_setup.sh b/scripts/setup/vscode_setup.sh similarity index 100% rename from scripts/vscode_setup.sh rename to scripts/setup/vscode_setup.sh diff --git a/scripts/xcode_setup.sh b/scripts/setup/xcode_setup.sh similarity index 100% rename from scripts/xcode_setup.sh rename to scripts/setup/xcode_setup.sh