chore: move setup/dev scripts into scripts/ directory - #74
Conversation
Consolidates setup.sh, setup.ps1, dev.sh, and dev.ps1 under a top-level scripts/ directory instead of cluttering the repo root, and updates the Makefile plus README/CONTRIBUTING references accordingly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
📝 WalkthroughWalkthroughSetup and development scripts are referenced from the ChangesScripts directory path migration
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@scripts/dev.ps1`:
- Line 5: Save scripts/dev.ps1 using UTF-8 encoding with a BOM, preserving its
existing contents and non-ASCII characters such as — and →.
In `@scripts/setup.ps1`:
- Line 6: Update the stale root-level command references in scripts/setup.ps1 at
lines 2, 116, and 170 to use .\scripts\setup.ps1 and .\scripts\dev.ps1 as
appropriate. Also update the prerequisite-failure rerun message in
scripts/setup.sh at line 102 to use ./scripts/setup.sh; no other behavior
changes are needed.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 4700efaa-2022-4da3-9ab5-6efcf36123c3
📒 Files selected for processing (7)
CONTRIBUTING.mdMakefileREADME.mdscripts/dev.ps1scripts/dev.shscripts/setup.ps1scripts/setup.sh
- Save scripts/dev.ps1 as UTF-8 with BOM so Windows PowerShell correctly reads its non-ASCII characters (em dash, arrow) - Update remaining stale root-level usage/rerun instructions in setup.sh, setup.ps1, dev.sh, and dev.ps1 to the new scripts/ path Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Summary
setup.sh,setup.ps1,dev.sh,dev.ps1from the repo root into a newscripts/directorySCRIPT_DIR/$ScriptDir) to point one level up to the repo root, since theycdintobackend/andweb/relative to that pathMakefile'ssetupanddevtargets to callscripts/setup.{sh,ps1}andscripts/dev.{sh,ps1}README.mdandCONTRIBUTING.mdcommand references and the project structure treeTest plan
SCRIPT_DIRresolves to the repo root fromscripts/and correctly findsbackend/andweb/scripts/itself🤖 Generated with Claude Code
Summary by CodeRabbit
Improvements
scripts/directory.Documentation