Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-ora2
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-ora2
Commits
f0cb67f5
Commit
f0cb67f5
authored
Feb 19, 2016
by
Eric Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use libsass
parent
7cbce617
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
Makefile
+1
-2
requirements/base.txt
+1
-0
scripts/compile_sass.py
+8
-0
scripts/sass.sh
+0
-4
No files found.
Makefile
View file @
f0cb67f5
...
...
@@ -35,7 +35,7 @@ javascript:
sass
:
./scripts/sass.sh
python scripts/compile_sass.py
install-test
:
...
...
@@ -45,7 +45,6 @@ install-sys-requirements: install-system install-node
npm config
set
loglevel warn
install-dev
:
gem install sass
pip install
-q
-r
requirements/dev.txt
install
:
install-wheels install-python install-js install-nltk-data install-test install-dev javascript sass
...
...
requirements/base.txt
View file @
f0cb67f5
...
...
@@ -19,6 +19,7 @@ djangorestframework>=3.1,<3.3
dogapi==1.2.1
jsonfield==1.0.3
lazy==1.1
libsass==0.10.0
loremipsum==1.0.5
python-dateutil==2.1
python-memcached==1.48
...
...
scripts/compile_sass.py
0 → 100644
View file @
f0cb67f5
import
sass
BASE_DIR
=
'openassessment/xblock/static/'
sass
.
compile
(
dirname
=
(
BASE_DIR
+
'sass'
,
BASE_DIR
+
'css'
),
include_paths
=
[
BASE_DIR
+
'sass/vendor/bi-app'
],
output_style
=
'compressed'
,
)
scripts/sass.sh
deleted
100755 → 0
View file @
7cbce617
#!/usr/bin/env bash
cd
`
dirname
$BASH_SOURCE
`
&&
cd
../openassessment/xblock/static
sass
--update
sass:css
--force
--style
compressed
-I
./sass/vendor/bi-app
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