Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add path filters for plugins #112

Closed
navilan opened this issue Nov 23, 2011 · 0 comments
Closed

Add path filters for plugins #112

navilan opened this issue Nov 23, 2011 · 0 comments

Comments

@navilan
Copy link
Member

navilan commented Nov 23, 2011

  • Plugin should execute only if the include_paths matches the node path
  • Plugin should execute only if the include_file_patterns glob matches the resource path
navilan added a commit that referenced this issue Nov 23, 2011
- Moved plugin_name property from CLTransformer to the base class (Plugin)
navilan added a commit that referenced this issue Nov 23, 2011
 -   `include_file_patterns` property accepts globs to filter by file name.
 -   `include_paths` accepts paths relative to content.
 -   `begin_node` and `node_complete` honor `include_paths`
 -   `begin_text_resource`, `text_resource_complete`, `begin_binary_resource`
      and `binary_resource_complete` honor both.
@navilan navilan closed this as completed Nov 23, 2011
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

No branches or pull requests

1 participant