cssmin

Removes line breaks, comments and spaces around symbols, in a CSS file.
Log | Files | Refs

commit 29c3dbf20ae00a1be62c573e81fcc6ab0ec0703b
parent ce7f15d8dbad54dcdadc78d8d5c3283152f97cb3
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Fri, 19 Nov 2021 19:29:43 -0500

Modify comments

Diffstat:
Mcssmin | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cssmin b/cssmin @@ -1,5 +1,5 @@ #!/usr/bin/env lua ---- Removes line breaks and spaces around symbols in a CSS file. +--- Removes line breaks, comments and spaces around symbols in a CSS file. --- No dependency, you only need lua (>= 5.1). -- @name cssmin -- @param filepath the location of a CSS file @@ -31,7 +31,7 @@ do return print(cssmin) else - print "[Error!] Wrong type of file. It should be a 'text/css'." + print "[Error!] Wrong file type. It should be a 'text/css'." end elseif not arg[1] then print "An argument is missing. You sould add a CSS file as argument."