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
f3dd8aee
Commit
f3dd8aee
authored
Apr 23, 2014
by
Andy Armstrong
Committed by
Brian Talbot
Jun 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update SASS pipeline to generate source maps
Note: this requires SASS 3.3+ so do ```bundle install```
parent
1816f97f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
Gemfile
+1
-1
Gemfile.lock
+1
-1
pavelib/assets.py
+2
-1
No files found.
Gemfile
View file @
f3dd8aee
source
'
https://rubygems.org
'
gem
'
rake
'
,
'~> 10.0.3'
gem
'
sass
'
,
'3.
2.12
'
gem
'
sass
'
,
'3.
3.5
'
gem
'
bourbon
'
,
'~> 3.1.8'
gem
'
neat
'
,
'~> 1.4.0'
gem
'
colorize
'
,
'~> 0.5.8'
...
...
Gemfile.lock
View file @
f3dd8aee
...
...
@@ -33,5 +33,5 @@ DEPENDENCIES
rake (~> 10.0.3)
rb-fsevent (~> 0.9.3)
rb-inotify (~> 0.9)
sass (= 3.
2.12
)
sass (= 3.
3.5
)
sys-proctable (~> 0.9.3)
pavelib/assets.py
View file @
f3dd8aee
...
...
@@ -130,9 +130,10 @@ def compile_sass(debug=False):
"""
sh
(
cmd
(
'sass'
,
''
if
debug
else
'--style compressed'
,
"--sourcemap"
,
"--cache-location {cache}"
.
format
(
cache
=
SASS_CACHE_PATH
),
"--load-path"
,
" "
.
join
(
SASS_LOAD_PATHS
+
THEME_SASS_PATHS
),
"--update"
,
"-E"
,
"utf-8"
,
" "
.
join
(
SASS_UPDATE_DIRS
+
THEME_SASS_PATHS
)
"--update"
,
"-E"
,
"utf-8"
,
" "
.
join
(
SASS_UPDATE_DIRS
+
THEME_SASS_PATHS
)
,
))
...
...
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