Metadata-Version: 2.1
Name: sceptre-minify-file-contents-resolver
Version: 0.1.6
Summary: Read and minify file contents
Home-page: https://github.com/sceptre/sceptre-minify-file-contents-resolver
Author: Mitchell Rowling
Author-email: mitchell.rowling@foxsports.com.au
License: Apache2
Keywords: sceptre,sceptre-resolver
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: Environment :: Console
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown
Provides-Extra: test

# Minify File Contents Resolver

Reads in the contents of a file and minifies them if applicable.

Syntax:

```yaml
parameters|sceptre_user_data:
  <name>: !minify_file_contents /path/to/file.txt
```

Example:

```yaml
sceptre_user_data:
  inline_lambda_code: !minify_file_contents /path/to/policy.js
```

# Testing

`make test`

# Releasing

1. Update the CHANGELOG.md with what has changed (see the example in the CHANGELOG comments).
2. In your virtualenv run `bumpversion --dry-run --verbose patch|minor|major`. You will see that the version number will be updated, a commit is made for the version update and a new git tag will be created.
3. If you are happy with the dry run then execute `bumpversion patch|minor|major`.
4. Push the commit with `git push`.
5. When the build for the above step is complete push the tag `git push origin vX.Y.Z` this will trigger a release build which will deploy to PyPi.


