Files
chopin.sh/README.md
T
2024-08-21 12:54:48 +02:00

660 B

Usage

Go into your project directory, copy chopin.sh there. If you want to pack the application, use ./chopin.sh -p. It will automatically get a name from manifest.toml if it exists. Use ./chopin.sh -g to create a pre-commit hook.

Features

Optimizing WebXDC packing script

The packing script generated by chopin.sh optimizes every part of the WebXDC package:

  • Minifies JS, HTML, and CSS files
  • Optimizes all image files without loss of quality
  • Optimizes audio files without loss of quality

Pre-commit formatting and linting

  • Formats and lints JS, HTML, and CSS so that a consistent code style and standard is sent to a git repository.