Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mincss
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Taddeüs Kroes
mincss
Commits
675f6414
Commit
675f6414
authored
10 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Updated README some more, added 64-bit pre-compiled binary
parent
e981b090
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Makefile
+8
-1
8 additions, 1 deletion
Makefile
README.md
+15
-2
15 additions, 2 deletions
README.md
dist/mincss
+0
-0
0 additions, 0 deletions
dist/mincss
with
23 additions
and
3 deletions
Makefile
+
8
−
1
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
$@
$<
...
...
This diff is collapsed.
Click to expand it.
README.md
+
15
−
2
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
======================
======================
...
...
This diff is collapsed.
Click to expand it.
dist/mincss
0 → 100755
+
0
−
0
View file @
675f6414
File added
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment