Skip to content

Commit 69ec14e

Browse files
justin808claude
andauthored
Add Conductor workspace configuration (#4)
- Add conductor.json to define workspace scripts - Create conductor-setup.sh for workspace initialization - Configure setup script to install dependencies and git hooks - Set run script to execute test suite with bundle exec rake spec This enables efficient workspace management in Conductor for React on Rails demo development. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent c056559 commit 69ec14e

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

conductor-setup.sh

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
#!/bin/bash
2+
set -e
3+
4+
echo "🔧 Setting up React on Rails Demo Common workspace..."
5+
6+
# Verify required tools are installed
7+
if ! command -v bundle &> /dev/null; then
8+
echo "❌ Error: Bundler not found. Please install Ruby and Bundler first."
9+
exit 1
10+
fi
11+
12+
if ! command -v npm &> /dev/null; then
13+
echo "❌ Error: npm not found. Please install Node.js and npm first."
14+
exit 1
15+
fi
16+
17+
# Install Ruby dependencies
18+
echo "📦 Installing Ruby dependencies..."
19+
bundle install
20+
21+
# Install Node dependencies (for Prettier)
22+
echo "📦 Installing Node dependencies..."
23+
npm install
24+
25+
# Set up git hooks
26+
echo "🪝 Installing git hooks..."
27+
bundle exec lefthook install
28+
29+
echo "✅ Workspace setup complete!"

conductor.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"scripts": {
3+
"setup": "./conductor-setup.sh",
4+
"run": "bundle exec rake spec"
5+
},
6+
"runScriptMode": "nonconcurrent"
7+
}

0 commit comments

Comments
 (0)