Skip to main content

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

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.

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

If you're not sure about the file name format, learn more about wheel file names.

sceptre_minify_file_contents_resolver-0.1.3-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2Python 3

File details

Details for the file sceptre-minify-file-contents-resolver-0.1.3.tar.gz.

File metadata

File hashes

Hashes for sceptre-minify-file-contents-resolver-0.1.3.tar.gz
Algorithm Hash digest
SHA256 921f1251eedf0d59385a57a8bc340c5a6e34ba6890bc7f78f0dfcb20991c5c5c
MD5 5080f7b09594e4ec88b9230cb15b7a08
BLAKE2b-256 0dff2a8abf528825e0f16b13ef87936552be762362e00d097f06fcf081bbb364

See more details on using hashes here.

File details

Details for the file sceptre_minify_file_contents_resolver-0.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sceptre_minify_file_contents_resolver-0.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a075648d2c9c2355025392ed3549f42b73f77bbf6d91b3d59e52f6adc519d3e0
MD5 d726832b786dbdebe04e1f36b58f358b
BLAKE2b-256 bec210b346c40743267feaca36fd58827350102935ee5d92a056ec3f3da8e595

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page