Skip to content

Commit fe73bfc

Browse files
GRACENOBLEclaude
andcommitted
fix: address CodeRabbit review comments on scripts move
- 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>
1 parent 3874b0d commit fe73bfc

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎scripts/dev.ps1‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# dev.ps1 — start all services in separate PowerShell windows (Windows equivalent of dev.sh)
2-
# Usage: .\dev.ps1
1+
# dev.ps1 — start all services in separate PowerShell windows (Windows equivalent of dev.sh)
2+
# Usage: .\scripts\dev.ps1
33
# Close each terminal window manually when done.
44

55
$ScriptDir = Split-Path -Parent (Split-Path -Parent $MyInvocation.MyCommand.Definition)

‎scripts/dev.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
# dev.sh — start all services in parallel in a single terminal
3-
# Usage: ./dev.sh
3+
# Usage: ./scripts/dev.sh
44
# Press Ctrl+C to stop everything.
55

66
set -euo pipefail

‎scripts/setup.ps1‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# setup.ps1 -- first-run setup for new contributors (Windows / PowerShell)
2-
# Usage: .\setup.ps1
2+
# Usage: .\scripts\setup.ps1
33
# Run once after cloning the repo.
44

55
$ErrorActionPreference = "Continue"
@@ -113,7 +113,7 @@ if (Test-Path $androidHome) {
113113
# Abort on failures
114114
if ($Errors -gt 0) {
115115
Write-Host ""
116-
Write-Host "$Errors prerequisite(s) failed. Fix the issues above and re-run .\setup.ps1." -ForegroundColor Red
116+
Write-Host "$Errors prerequisite(s) failed. Fix the issues above and re-run .\scripts\setup.ps1." -ForegroundColor Red
117117
Write-Host ""
118118
exit 1
119119
}
@@ -167,7 +167,7 @@ Write-Host " You're all set! Run these commands to start developing: " -Foreg
167167
Write-Host "============================================================" -ForegroundColor Green
168168
Write-Host ""
169169
Write-Host " Quickstart (all services in separate windows):" -ForegroundColor White
170-
Write-Host " .\dev.ps1" -ForegroundColor Yellow
170+
Write-Host " .\scripts\dev.ps1" -ForegroundColor Yellow
171171
Write-Host ""
172172
Write-Host " Or start each service individually:" -ForegroundColor White
173173
Write-Host " cd backend; make docker-run # Postgres" -ForegroundColor Blue

‎scripts/setup.sh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
# setup.sh — first-run setup for new contributors
3-
# Usage: ./setup.sh
3+
# Usage: ./scripts/setup.sh
44
# Run once after cloning the repo.
55

66
set -euo pipefail
@@ -101,7 +101,7 @@ fi
101101
# Abort if any hard prerequisite failed
102102
if [[ "$ERRORS" -gt 0 ]]; then
103103
echo ""
104-
echo -e "${RED}${BOLD}$ERRORS prerequisite(s) failed. Fix the issues above and re-run ./setup.sh.${RESET}"
104+
echo -e "${RED}${BOLD}$ERRORS prerequisite(s) failed. Fix the issues above and re-run ./scripts/setup.sh.${RESET}"
105105
echo ""
106106
exit 1
107107
fi
@@ -146,7 +146,7 @@ echo -e "${BOLD}${GREEN}║ You're all set! Run these commands to start develo
146146
echo -e "${BOLD}${GREEN}╚═══════════════════════════════════════════════════════════╝${RESET}"
147147
echo ""
148148
echo -e " ${BOLD}Quickstart (all services in one terminal):${RESET}"
149-
echo -e " ${YELLOW}./dev.sh${RESET}"
149+
echo -e " ${YELLOW}./scripts/dev.sh${RESET}"
150150
echo ""
151151
echo -e " ${BOLD}Or start each service individually:${RESET}"
152152
echo -e " ${BLUE}cd backend && make docker-run${RESET} # Postgres"

0 commit comments

Comments
 (0)