If I have a tree like the following, I am unable to just ignore the private/data directory using --ignore-dir="private/data". I must use --ignore-dir="data", but if I do that my other data directories are removed.
|-app
|---cool
|-----data
|-data
|-private
|---data
|---do-not-delete
The relevant code is on line 172 of lib/crxmake.rb: File.basename(path). Is there any reason not to just match against the full path? The same could be applied to files.