Skip to content

Commit 7bd92c7

Browse files
justin808claude
andcommitted
Improve bin/setup robustness and documentation
- Use set -euo pipefail for stricter error handling (matches bin/ci-switch-config) - Add comment explaining what rake node_package does 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent dd6533e commit 7bd92c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/setup

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# bin/setup --help # Show this help message
1212
#
1313

14-
set -e
14+
set -euo pipefail
1515

1616
# Colors for output
1717
RED='\033[0;31m'
@@ -169,6 +169,8 @@ install_dependencies() {
169169
}
170170

171171
build_node_package() {
172+
# Builds TypeScript packages and runs pnpm yalc:publish for local development.
173+
# This compiles node_package/src/ to lib/ and makes packages available locally.
172174
print_step "Building node package..."
173175
if ! rake node_package; then
174176
print_error "Failed to build node package"

0 commit comments

Comments
 (0)