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.7-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.7.tar.gz.

File metadata

File hashes

Hashes for sceptre-minify-file-contents-resolver-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e358bc006ec6468453901e14bd48346206c4797a24149f28fa74112e7a5acce9
MD5 89f273b2c9199959ed76fd149b7ec4fe
BLAKE2b-256 794be94bf9c25fae7978b7a510ae54a4060da6bae292610486fb19c1cb28e986

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sceptre_minify_file_contents_resolver-0.1.7-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4d8a55f0aed998edf07eb166d5981e61d5ad7c35129d06895eb16825e3eead65
MD5 2a488fcea904a380389870c1130f78de
BLAKE2b-256 ac7cbf356eac6bf4befaeb414522aadf76fedd29207b1ae2663dc46bb99e5ae7

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