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

Added add_post_processor_chain function #116

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hongjoonchew
Copy link
Contributor

Issue

#115

List of Changes Proposed

Adding Post Processor Chain since its not implemented yet.

Testing Evidence

>>> from packerlicious import post_processor, Template
>>> test_template = Template()
>>> file_post = post_processor.Checksum()
>>> file_post2 = post_processor.Artifice(files = ['testfile.test'])
>>> test_template.add_post_processor_chain(file_post,file_post2)
>>> print(test_template.to_json())
{
  "post-processors": [
    [
      {
        "type": "checksum"
      },
      {
        "files": [
          "testfile.test"
        ],
        "type": "artifice"
      }
    ]
  ]
}

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.05%) to 82.918% when pulling fb90596 on hongjoonchew:master into cc31f39 on mayn:master.

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

Successfully merging this pull request may close these issues.

2 participants