Read and minify file contents
Project description
Minify File Contents Resolver
Reads in the contents of a file and minifies them if applicable.
Syntax:
parameters|sceptre_user_data:
<name>: !minify_file_contents /path/to/file.txt
Example:
sceptre_user_data:
inline_lambda_code: !minify_file_contents /path/to/policy.js
Add your resolver readme here. Remember to include the following:
- Tell people how to install it (e.g. pip install ...).
- Be clear about the purpose of the resolver, its capabilities and limitations.
- Tell people how to use it.
- Give examples of the resolver in use.
Read our wiki to learn how to use this repo: https://github.com/Sceptre/project/wiki/Sceptre-Resolver-Template
If you have any questions or encounter an issue please open an issue
Testing
We have included a basic testing set up for you. You will need to unit test your code so remember to update tests/...
.
Releasing
- Update the CHANGELOG.md with what has changed (see the example in the CHANGELOG comments).
- 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. - If you are happy with the dry run then execute
bumpversion patch|minor|major
. - Push the commit with
git push
. - 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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for sceptre-minify-file-contents-resolver-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9738ee0f0d0986747a72dc577463a34dbfe71912042af911f6c07312d3982df3 |
|
MD5 | 81e1027e5524683d4246a98f12adba57 |
|
BLAKE2b-256 | 1c8a5ca30248a9fa2e20ace53ce0717eb60bca15a285b742f3bbdd22ffe31166 |
Close
Hashes for sceptre_minify_file_contents_resolver-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d15df1dca69e40102140936c519bfcdd347f950ba37f415cec13a2aecf23690f |
|
MD5 | 4cd4d6bdef404f324878309cfb727900 |
|
BLAKE2b-256 | fbdbd7ed652c2d058ba937d1c1af5c3f2dc32a2cf3596d2f5be88a4bd0121058 |