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
e6a1a9fa
Commit
e6a1a9fa
authored
May 23, 2013
by
Jay Zoldak
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into feature/cdodge/autoprovision-forums-master
parents
293d0a86
af8b509e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
lms/static/sass/application.scss.mako
+2
-2
rakefiles/assets.rake
+3
-1
No files found.
lms/static/sass/application.scss.mako
View file @
e6a1a9fa
...
...
@@ -45,7 +45,7 @@
## called themes/<theme-name>/, with its base Sass file in
## themes/<theme-name>/static/sass/_<theme-name>.scss. That one entry
## point can be used to @import in as many other things as needed.
% if
not env['THEME_NAME'] is
None:
% if
env.get('THEME_NAME') is not
None:
// import theme's Sass overrides
@import '${env
['THEME_NAME']
}'
@import '${env
.get('THEME_NAME')
}'
% endif
rakefiles/assets.rake
View file @
e6a1a9fa
...
...
@@ -19,9 +19,11 @@ def preprocess_with_mako(filename)
# strip off the .mako extension
output_filename
=
filename
.
chomp
(
File
.
extname
(
filename
))
# just pipe from stdout into the new file
# just pipe from stdout into the new file
, exiting on failure
File
.
open
(
output_filename
,
'w'
)
do
|
file
|
file
.
write
(
`python -c '
#{
mako
}
'`
)
exit_code
=
$?
.
to_i
abort
"
#{
mako
}
failed with
#{
exit_code
}
"
if
exit_code
.
to_i
!=
0
end
end
...
...
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