campoy / embedmd

embedmd: embed code into markdown and keep everything in sync
Apache License 2.0
767 stars 62 forks source link

support **/*.md even when not on zsh #55

Closed campoy closed 7 years ago

campoy commented 7 years ago

currently failing some tests on travis CI because embedmd **/*.md doesn't match any files

I was able to reproduce the problem by running the program from bash:

bash-3.2$ ls *.md
CONTRIBUTING.md README.md
bash-3.2$ embedmd -d **/*.md
**/*.md:open **/*.md: no such file or directory
campoy commented 7 years ago

decided to fix the problem by invoking it better:

find . -name "*.md" | xargs embedmd -d

might reconsider if anyone else asks for thsi