px86 / css-minifier

A CSS minifier in C++.

Repository from Github https://github.compx86/css-minifierRepository from Github https://github.compx86/css-minifier

Minify - A CSS minifier

Remove comments and unnecessary whitespaces from a CSS file.

Compilation

It’s very simple.

g++ -std=c++11 -o minify minify.cpp

or, if you have GNU Make installed, run make to compile the program, and make test for running the program on the example.css file.

make test

Usage

minify <path-to-a-css-file> <ouput-file-path>

About

A CSS minifier in C++.

License:MIT License


Languages

Language:C++ 80.7%Language:CSS 13.7%Language:Makefile 5.6%