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
a9d17d07
Commit
a9d17d07
authored
10 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Implemented font-weight optimization
parent
2406d894
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Makefile
+2
-2
2 additions, 2 deletions
Makefile
main.ml
+1
-1
1 addition, 1 deletion
main.ml
with
3 additions
and
3 deletions
Makefile
+
2
−
2
View file @
a9d17d07
RESULT
:=
mincss
PRE_TGTS
:=
types
MODULES
:=
color_names util stringify parser lexer parse selector color
\
shorthand duplicates main
shorthand duplicates
font
main
ALL_NAMES
:=
$(
PRE_TGTS
)
$(
MODULES
)
OCAMLCFLAGS
:=
-g
...
...
@@ -36,7 +36,7 @@ lexer.cmi: lexer.ml
parser.cmx
:
parser.cmi lexer.cmx
parser.mli
:
parser.ml
parse.cmx
:
lexer.cmi parser.cmx
main.cmx
:
parse.cmx util.cmx color.cmx shorthand.cmx duplicates.cmx
main.cmx
:
parse.cmx util.cmx color.cmx shorthand.cmx duplicates.cmx
font.cmx
util.cmx
:
OCAMLCFLAGS += -pp cpp
util.cmx color.cmx
:
color_names.cmx
stringify.cmx parser.cmx color.cmx shorthand.cmx
:
util.cmi
...
...
This diff is collapsed.
Click to expand it.
main.ml
+
1
−
1
View file @
a9d17d07
...
...
@@ -131,11 +131,11 @@ let handle_args args =
let
input
,
css
=
parse_files
args
.
infiles
in
let
css
=
css
|>
switch
args
.
color
Color
.
compress
(*|> switch args.font Font.compress*)
(* unfold before pruning duplicates so that shorthand components are
* correctly pruned *)
|>
switch
args
.
shorthands
Shorthand
.
unfold_stylesheet
|>
switch
args
.
font
Font
.
compress
|>
switch
args
.
duplicates
Duplicates
.
compress
|>
switch
args
.
shorthands
Shorthand
.
compress
in
...
...
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