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
35720c3a
Commit
35720c3a
authored
10 years ago
by
Taddeüs Kroes
Browse files
Options
Downloads
Patches
Plain Diff
Minifier now checks oif input files exist
parent
52cdbb3c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.ml
+2
-0
2 additions, 0 deletions
main.ml
with
2 additions
and
0 deletions
main.ml
+
2
−
0
View file @
35720c3a
...
...
@@ -104,6 +104,8 @@ let parse_files = function
let
rec
loop
=
function
|
[]
->
[]
|
filename
::
tl
->
if
not
(
Sys
.
file_exists
filename
)
then
raise
(
Failure
(
"file "
^
filename
^
" does not exist"
));
let
input
=
Util
.
input_all
(
open_in
filename
)
in
let
stylesheet
=
Parse
.
parse_input
filename
input
in
(
input
,
stylesheet
)
::
loop
tl
...
...
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