jtree
jtree copied to clipboard
Stamp: dirToStampWithContents should use glob
Wow it's doing stupid stuff right now like going through node_modules. Should be smarter. Can probably ditch a lot of code too.
Here's the method that needs to be better: https://github.com/publicdomaincompany/jtree/blob/master/langs/stamp/stamp.grammar#L41
Thinking about it more, if you are automatically generating stamps, you probably want to use zipfiles instead of stamp.
Stamp is really only useful for hand editing templates or sending along short dir/files.