Skip to content

Directory matching ignores parent directories #20

@webnard

Description

@webnard

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions