Added a SessionStart hook to automatically run ShellCheck/Bats in the Docker environment.#43
Merged
Merged
Conversation
Claude Code on the Web環境で自動的にDockerデーモンを起動し、 ShellCheckによる静的解析とBatsテストを実行するセットアップスクリプトと SessionStartフック設定を追加。 https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER
The setup script now only starts Docker and builds the image. ShellCheck and Bats can be run manually via docker commands. https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER
The sandbox environment restricts apt inside Docker containers, so install ShellCheck and Bats directly on the host. Docker daemon is still started for running browser tests. Also fix ShellCheck warnings and update CLAUDE.md with sandbox setup instructions. https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER
サンドボックス環境でのセットアップ・リント・テスト・Docker の 使い方と注意点を日本語で記載。 https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER
docker build はDNS解決不可で失敗するため、Docker テストは CI で実行し、サンドボックスでは ShellCheck/Bats を直接使う旨を記載。 https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER
サンドボックスではネットワーク制限で docker build が動かないため、 Docker 関連の手順と注意点を削除してシンプルにした。 https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added a setup script and SessionStart hook configuration to automatically start the Docker daemon in the Claude Code on the Web environment and run static analysis with ShellCheck and Bats tests.
https://claude.ai/code/session_016pL7o1Kp9WmKzAstnxF2ER