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

#285: Allow users to include/exclude rules via config file #319

Merged
merged 6 commits into from
Feb 4, 2016

Conversation

adityatrivedi
Copy link
Member

Users can now enable/disable specific rules by using only/ except options in the .tailor.yml configuration file.

TODO:

  • Document feature in README
  • Add tests

Resolves #285.

@adityatrivedi adityatrivedi added this to the Sprint 13 milestone Feb 3, 2016
@sleekbot sleekbot changed the title #285: Allow users to specifiy #285: Allow users to specifiy Feb 3, 2016
@adityatrivedi adityatrivedi changed the title #285: Allow users to specifiy #285: Allow users to include/exclude rules via config file Feb 3, 2016

protected static final String TEST_INPUT_DIR = "src/test/swift/com/sleekbyte/tailor/functional/yaml";
protected static final String NEWLINE_REGEX = "\\r?\\n";
private static final String YamlTest1 = "YamlTest1.swift";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make YamlTest1 and YamlTest2 uppercase.

* Rename YamlTest1 to YAML_TEST_1
* Test precedence of `--only` CLI over `only: label in config files
@nehasingh2293
Copy link
Member

👍

1 similar comment
@a4sriniv
Copy link
Member

a4sriniv commented Feb 4, 2016

👍

adityatrivedi added a commit that referenced this pull request Feb 4, 2016
#285: Allow users to include/exclude rules via config file
@adityatrivedi adityatrivedi merged commit a37ffbb into master Feb 4, 2016
@adityatrivedi adityatrivedi deleted the at-285-config-exclude-include branch February 4, 2016 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants