It is intended to be used in conjunction with Hamlet, part of Yesod.
As such, much of the structure of the package is shamelessly copied from Hamlet.
How to build
cabal clean && cabal configure && cabal build
cabal clean && cabal configure --enable-tests && cabal build
Running the tests
0.1.5.1 - fix if/else/if minify issue
0.1.4.7 - remove upper bounds in cabal file
0.1.4.6 - relax upper bound in optparse-applicative
0.1.4.5 - relax upper bound in text to support 1.1 - introduce CLI wrapper for minifying files from the commandline, courtesy of @CodeBlock
0.1.4.4 - relax upper bound in text to support 1.0
0.1.4.3 - make sure all missing cases are covered
0.1.4.2 - minify octal literals too
0.1.4.1 - Bump upper bound for containers to < 0.6 for the tests as well as the library
0.1.4 - Include test assets in cabal to allow cabal test to pass. Courtesy of @snoyberg
0.1.3 - Update version ranges for GHC 7.6.1, courtesy of @mietek
0.1.2 - More general fix to the space after ‘new’ keyword, for issue #8 & #9
0.1.1 - Fixed problem with missing space after ‘new’ keyword, in issue #8.
0.0.15 - Fix GHC 7.4.1 compile compatibility. Patch accepted from github.com/luite
0.0.14 - Allow unicode characters in comments
0.0.13 - Error in parsing numbers with zeros before decimal point
0.0.12 - Worked in Michael Snoyman’s fix for unicode output