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
7bc6dc34
Commit
7bc6dc34
authored
Jul 21, 2013
by
Timothée Peignier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
don't hardcode sass options. close #238
parent
2dc36d81
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
docs/compilers.rst
+1
-1
pipeline/compilers/sass.py
+1
-1
pipeline/conf/settings.py
+1
-1
No files found.
docs/compilers.rst
View file @
7bc6dc34
...
...
@@ -112,7 +112,7 @@ To use it add this to your ``PIPELINE_COMPILERS`` ::
Additional arguments to use when sass is called.
Defaults to ``''``.
Defaults to ``'
--update
'``.
Stylus compiler
...
...
pipeline/compilers/sass.py
View file @
7bc6dc34
...
...
@@ -13,7 +13,7 @@ class SASSCompiler(SubProcessCompiler):
return
filename
.
endswith
((
'.scss'
,
'.sass'
))
def
compile_file
(
self
,
infile
,
outfile
,
outdated
=
False
,
force
=
False
):
command
=
"
%
s
%
s
--update
%
s:
%
s"
%
(
command
=
"
%
s
%
s
%
s:
%
s"
%
(
settings
.
PIPELINE_SASS_BINARY
,
settings
.
PIPELINE_SASS_ARGUMENTS
,
infile
,
...
...
pipeline/conf/settings.py
View file @
7bc6dc34
...
...
@@ -54,7 +54,7 @@ PIPELINE_LIVE_SCRIPT_BINARY = getattr(settings, 'PIPELINE_LIVE_SCRIPT_BINARY', '
PIPELINE_LIVE_SCRIPT_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_LIVE_SCRIPT_ARGUMENTS'
,
''
)
PIPELINE_SASS_BINARY
=
getattr
(
settings
,
'PIPELINE_SASS_BINARY'
,
'/usr/bin/env sass'
)
PIPELINE_SASS_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_SASS_ARGUMENTS'
,
''
)
PIPELINE_SASS_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_SASS_ARGUMENTS'
,
'
--update
'
)
PIPELINE_STYLUS_BINARY
=
getattr
(
settings
,
'PIPELINE_STYLUS_BINARY'
,
'/usr/bin/env stylus'
)
PIPELINE_STYLUS_ARGUMENTS
=
getattr
(
settings
,
'PIPELINE_STYLUS_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