Skip to content

lucassmagal/cssmin.hs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

cssmin.hs (based on cssmin.py)

This script is a simple attempt to learn how to program more complex programs in Haskell (instead of, you know, "fat n = n * fat (n-1)"). It's highly based on Zachary Voase's cssmin script in Python.

To execute it, you need "regex-compat":

$ sudo cabal update
$ sudo cabal install regex-compat-tdfa

# To execute:
$ runhaskell cssmin.hs normalize.css > normalize.min.css

# Or you can compile
$ ghc cssmin.hs -o cssmin -Wall
$ ./cssmin normalize.css > normalize.min.css

About

A simple CSS minifier written in Haskell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published