Skip to content

Commit 747601d

Browse files
ryanmacclaude
andcommitted
fix: move examples directory to .conductor/examples to avoid conflicts
- Update conductor-init.sh to copy examples to .conductor/examples - Update install.sh to reference new location - Update Makefile demo target to use new location This prevents conflicts when installing in projects that already have an examples directory in their root. All conductor-related files are now organized under the .conductor directory. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3913873 commit 747601d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ demo: ## Create and run a full demo
2828
@echo ""
2929
@echo "🎼 Installing conductor-score..."
3030
@cd /tmp/conductor-demo && cp -r $(PWD)/.conductor .
31-
@cd /tmp/conductor-demo && cp -r $(PWD)/examples .
31+
@cd /tmp/conductor-demo && cp -r $(PWD)/examples .conductor/
3232
@cd /tmp/conductor-demo && cp $(PWD)/setup.py .
3333
@cd /tmp/conductor-demo && cp $(PWD)/.gitignore .conductor-gitignore
3434
@cd /tmp/conductor-demo && cat .conductor-gitignore >> .gitignore || cp .conductor-gitignore .gitignore

conductor-init.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ cp "$TEMP_DIR/VERSION" . || {
112112
read -p "Do you want to copy example configurations (recommended for new users)? [Y/n]: " -n 1 -r
113113
echo ""
114114
if [[ $REPLY =~ ^[Yy]$ ]] || [[ -z $REPLY ]]; then
115-
cp -r "$TEMP_DIR/examples" . || {
115+
cp -r "$TEMP_DIR/examples" .conductor/ || {
116116
echo -e "${YELLOW}⚠️ Failed to copy examples directory (continuing anyway).${NC}"
117117
}
118-
echo -e "${GREEN}✅ Examples copied.${NC}"
118+
echo -e "${GREEN}✅ Examples copied to .conductor/examples.${NC}"
119119
fi
120120

121121
# Clean up temp dir

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,4 @@ echo ""
8585
echo "📚 Next steps:"
8686
echo " 1. Check the README.md for usage instructions"
8787
echo " 2. Run 'python setup.py --help' for setup options"
88-
echo " 3. Explore the examples/ directory for templates"
88+
echo " 3. Explore the .conductor/examples/ directory for templates"

0 commit comments

Comments
 (0)