Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-pipeline
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
django-pipeline
Commits
55a3ae67
Commit
55a3ae67
authored
Oct 22, 2012
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use yuglify rather than yui-compressor
parent
8fcaec8c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
pipeline/compressors/yui.py
+1
-1
pipeline/conf/settings.py
+1
-1
No files found.
pipeline/compressors/yui.py
View file @
55a3ae67
...
...
@@ -4,7 +4,7 @@ from pipeline.compressors import SubProcessCompressor
class
YUICompressor
(
SubProcessCompressor
):
def
compress_common
(
self
,
content
,
type_
,
arguments
):
command
=
'
%
s --type=
%
s
%
s'
%
(
settings
.
PIPELINE_YUI_BINARY
,
type_
,
arguments
)
command
=
'
%
s --t
erminal --t
ype=
%
s
%
s'
%
(
settings
.
PIPELINE_YUI_BINARY
,
type_
,
arguments
)
return
self
.
execute_command
(
command
,
content
)
def
compress_js
(
self
,
js
):
...
...
pipeline/conf/settings.py
View file @
55a3ae67
...
...
@@ -27,7 +27,7 @@ PIPELINE_DISABLE_WRAPPER = getattr(settings, 'PIPELINE_DISABLE_WRAPPER', False)
PIPELINE_CSSTIDY_BINARY
=
getattr
(
settings
,
'PIPELINE_CSSTIDY_BINARY'
,
'/usr/bin/env csstidy'
)
PIPELINE_CSSTIDY_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_CSSTIDY_ARGUMENTS'
,
'--template=highest'
)
PIPELINE_YUI_BINARY
=
getattr
(
settings
,
'PIPELINE_YUI_BINARY'
,
'/usr/bin/env yu
i-compressor
'
)
PIPELINE_YUI_BINARY
=
getattr
(
settings
,
'PIPELINE_YUI_BINARY'
,
'/usr/bin/env yu
glify
'
)
PIPELINE_YUI_CSS_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_YUI_CSS_ARGUMENTS'
,
''
)
PIPELINE_YUI_JS_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_YUI_JS_ARGUMENTS'
,
''
)
...
...
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