Skip to content

Comments

Fix find recursion in examples discovery#4

Merged
SeanTAllen merged 1 commit intomainfrom
fix-examples-find-recursion
Feb 23, 2026
Merged

Fix find recursion in examples discovery#4
SeanTAllen merged 1 commit intomainfrom
fix-examples-find-recursion

Conversation

@SeanTAllen
Copy link
Member

The find command that discovers example directories recurses into subdirectories. Adding `-maxdepth 0` prevents this. Without the fix, any example with a subdirectory would be treated as a separate example, breaking the build. Discovered in ponylang/hobby.

The find command that discovers example directories recurses into
subdirectories. Adding -maxdepth 0 prevents this. Without the fix,
any example with a subdirectory would be treated as a separate
example, breaking the build.
@ponylang-main ponylang-main added the discuss during sync Should be discussed during an upcoming sync label Feb 23, 2026
@SeanTAllen SeanTAllen merged commit eadac25 into main Feb 23, 2026
8 checks passed
@SeanTAllen SeanTAllen deleted the fix-examples-find-recursion branch February 23, 2026 19:27
@ponylang-main ponylang-main removed the discuss during sync Should be discussed during an upcoming sync label Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants