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

File metadata

  • Download URL: sceptre-minify-file-contents-resolver-0.0.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sceptre-minify-file-contents-resolver-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7aab53076990c7c09f5f6189945815085b05af0a781a881b0354224ca1745231
MD5 f119ba7bedc72ad1633669a41d42bc71
BLAKE2b-256 9314a6f255af86394a2e81cc17f8897993d16f6a02e5492b038cf782ac772997

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sceptre_minify_file_contents_resolver-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b20974dcdd8bca0bd706b7bd150eda68ebc83d87854862cb385bed3000e5b297
MD5 ad575ba7f5bead096cd334c9cd11a580
BLAKE2b-256 35012bbac7a7de2a3e29f0085184da4394b01406bdb9b9f3d3b2095a94589bb2

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