This program takes in input from the original.css file. This file is then minified so the spaces and line breaks are removed. This minified file can then be outputted to the terminal, or a "minified.min.css" file can be produced based on what the user chooses.
Recording of the program
- C++11
- fstream
- for reading and writing files
To run this project, compile the C++ code by using the Makefile and run the executable:
make
./output
To use the program, find the ./files/ folder. In this folder there is the original.css file, and this is where the minified.min.css file will be outputted to. Copy paste your CSS into the original.css file or replace it by taking the original.css name. Once you have content in the original.css file, you are able to minify it!
To remove build objects, run:
make clean
- The targetted file must be named original.css
- Only CSS minifying supported
Licensed under the GNU General Public License v3.0