Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
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
edx
edx-platform
Commits
e947a929
Commit
e947a929
authored
Jun 23, 2015
by
Christine Lytwynec
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8622 from edx/clytwynec/quiet_sass_compile_warnings
pass debug option through to compile_sass
parents
da16f444
16745cde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
pavelib/assets.py
+4
-2
No files found.
pavelib/assets.py
View file @
e947a929
...
...
@@ -132,10 +132,12 @@ def compile_coffeescript(*files):
@task
@no_help
def
compile_sass
(
debug
=
False
):
@cmdopts
([(
'debug'
,
'd'
,
'Debug mode'
)])
def
compile_sass
(
options
):
"""
Compile Sass to CSS.
"""
debug
=
options
.
get
(
'debug'
)
parts
=
[
"sass"
]
parts
.
append
(
"--update"
)
parts
.
append
(
"--cache-location {cache}"
.
format
(
cache
=
SASS_CACHE_PATH
))
...
...
@@ -244,7 +246,7 @@ def update_assets(args):
compile_templated_sass
(
args
.
system
,
args
.
settings
)
process_xmodule_assets
()
compile_coffeescript
()
c
ompile_sass
(
args
.
debug
)
c
all_task
(
'compile_sass'
,
options
=
{
'debug'
:
args
.
debug
}
)
if
args
.
collect
:
collect_assets
(
args
.
system
,
args
.
settings
)
...
...
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