Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mincss
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Taddeüs Kroes
mincss
Commits
675f6414
Commit
675f6414
authored
Oct 02, 2014
by
Taddeüs Kroes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated README some more, added 64-bit pre-compiled binary
parent
e981b090
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
Makefile
Makefile
+8
-1
README.md
README.md
+15
-2
dist/mincss
dist/mincss
+0
-0
No files found.
Makefile
View file @
675f6414
RESULT
:=
mincss
RESULT
:=
mincss
DIST
:=
dist/mincss
PRE_TGTS
:=
types
PRE_TGTS
:=
types
MODULES
:=
color_names util stringify parser lexer parse selector simple
\
MODULES
:=
color_names util stringify parser lexer parse selector simple
\
shorthand duplicates main
shorthand duplicates main
...
@@ -11,11 +12,17 @@ OCAMLLDLIBS := str.cmxa
...
@@ -11,11 +12,17 @@ OCAMLLDLIBS := str.cmxa
OCAMLLEX
:=
ocamllex
OCAMLLEX
:=
ocamllex
OCAMLYACC
:=
menhir
--infer
--explain
--dump
OCAMLYACC
:=
menhir
--infer
--explain
--dump
.PHONY
:
all clean
.PHONY
:
all
dist
clean
.PRECIOUS
:
$(addprefix .cmi
,
$(ALL_NAMES))
.PRECIOUS
:
$(addprefix .cmi
,
$(ALL_NAMES))
all
:
$(RESULT)
all
:
$(RESULT)
dist
:
$(DIST)
$(DIST)
:
$(RESULT)
@
mkdir
-p
$
(
@D
)
cp
$<
$@
%.ml
:
%.mll
%.ml
:
%.mll
$(OCAMLLEX)
-o
$@
$<
$(OCAMLLEX)
-o
$@
$<
...
...
README.md
View file @
675f6414
...
@@ -7,8 +7,16 @@ with the official CSS specification and a traversal utility function for use in
...
@@ -7,8 +7,16 @@ with the official CSS specification and a traversal utility function for use in
transformation passes.
transformation passes.
Optimizations
Installation
=============
============
For now, there is no easy installation option for mincss (yet). A pre-built
64-bit ELF binary is available for download
[
here
](
dist/mincss
)
. You can also
build the binary from source (see
*Building mincss*
below).
Features
========
Whitespace compression
Whitespace compression
----------------------
----------------------
...
@@ -38,6 +46,11 @@ counterparts, after which the last value is used for shorthand generation:
...
@@ -38,6 +46,11 @@ counterparts, after which the last value is used for shorthand generation:
font: normal 12px/15px sans-serif; | font: bold 12px/15px sans-serif;
font: normal 12px/15px sans-serif; | font: bold 12px/15px sans-serif;
font-weight: bold; |
font-weight: bold; |
Sorting declarations
--------------------
The
`--sort`
command-line option sorts declarations alphabetically. This option
is disabled by default since it does not affect file size.
Command-line interface
Command-line interface
======================
======================
...
...
dist/mincss
0 → 100755
View file @
675f6414
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment